21 lines
434 B
C#
Raw Normal View History

2020-08-20 17:29:47 +01:00
using QSB.WorldSync;
using UnityEngine;
2020-11-03 22:29:23 +00:00
namespace QSB.SectorSync
{
2020-12-02 21:23:01 +00:00
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;
2020-08-20 19:31:10 +01:00
2020-12-02 21:23:01 +00:00
public void Init(Sector sector, int id)
{
Sector = sector;
ObjectId = id;
}
}
}