mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 18:35:34 +00:00
18 lines
405 B
C#
18 lines
405 B
C#
using QSB.WorldSync;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.SectorSync.WorldObjects
|
|
{
|
|
public class QSBSector : WorldObject<Sector>
|
|
{
|
|
public Sector.Name Type => AttachedObject.GetName();
|
|
public Transform Transform => AttachedObject.transform;
|
|
public Vector3 Position => Transform.position;
|
|
|
|
public override void Init(Sector sector, int id)
|
|
{
|
|
ObjectId = id;
|
|
AttachedObject = sector;
|
|
}
|
|
}
|
|
} |