quantum-space-buddies/QSB/SectorSync/QSBSector.cs

21 lines
509 B
C#
Raw Normal View History

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