Added mechanic that the gate blocks switching to another layer, added map button, moved small parts to fit buttons.
This commit is contained in:
@@ -18,11 +18,16 @@ public partial class RobotList : PanelContainer
|
||||
{
|
||||
if (Input.IsActionJustPressed("robot_list"))
|
||||
{
|
||||
Visible = !Visible;
|
||||
if (Visible) ReloadRobots();
|
||||
ShowList();
|
||||
}
|
||||
}
|
||||
|
||||
public void ShowList()
|
||||
{
|
||||
Visible = !Visible;
|
||||
if (Visible) ReloadRobots();
|
||||
}
|
||||
|
||||
public void ReloadRobots()
|
||||
{
|
||||
foreach (Node node in robotList.GetChildren())
|
||||
|
||||
Reference in New Issue
Block a user