Mister_Nebula b10cf20ee4 fix stuff
2021-02-08 20:04:14 +00:00

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;
}
}
}