Mister_Nebula 274cf180c6 cleanup
2020-08-20 19:31:10 +01:00

21 lines
512 B
C#

using QSB.WorldSync;
using UnityEngine;
namespace QSB.TransformSync
{
public class QSBSector : WorldObject
{
public Sector Sector { get; private set; }
public Sector.Name Type => Sector.GetName();
public string Name => Sector.name;
public Transform Transform => Sector.transform;
public Vector3 Position => Transform.position;
public void Init(Sector sector, int id)
{
Sector = sector;
ObjectId = id;
}
}
}