mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
19 lines
437 B
C#
19 lines
437 B
C#
using QSB.WorldSync;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.SectorSync
|
|
{
|
|
public class QSBSector : WorldObject<Sector>
|
|
{
|
|
public Sector.Name Type => AttachedObject.GetName();
|
|
public string Name => AttachedObject.name;
|
|
public Transform Transform => AttachedObject.transform;
|
|
public Vector3 Position => Transform.position;
|
|
|
|
public override void Init(Sector sector, int id)
|
|
{
|
|
ObjectId = id;
|
|
AttachedObject = sector;
|
|
}
|
|
}
|
|
} |