This commit is contained in:
CortexCore
2025-04-14 15:39:24 +08:00
parent 5fceb6f885
commit 3f9d9f19ce
50 changed files with 683 additions and 41 deletions

View File

@@ -16,15 +16,11 @@ namespace Net.Project.B.WorldNode
[SerializeField] private GameObject[] floors;
[SerializeField] private GameObject[] floorButtons;
[SerializeField] private Rigidbody platform;
[SerializeField] private GameObject elevatorButton;
public Rigidbody Platform => platform;
public readonly Dictionary<int, (GameObject floor, GameObject button)> Floors = new();
public void Initialize()
{
for (var index = 0; index < floors.Length; index++)
{
var floor = floors[index];
}
}
public GameObject[] Floors => floors;
public GameObject[] FloorButtons => floorButtons;
public GameObject ElevatorButton => elevatorButton;
#endif
}