1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user