quantum-space-buddies/QSB/SectorSync/QSBSector.cs
2020-11-03 22:29:23 +00:00

21 lines
509 B
C#

using QSB.WorldSync;
using UnityEngine;
namespace QSB.SectorSync
{
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;
}
}
}