void Start() { Builder = MyGameController.GetBuilder(); if (MyGameController.State == GameState.Player1Build) { PrimaryColorDropdown.value = 0; SecondaryColorDropdown.value = 1; } else { PrimaryColorDropdown.value = 3; SecondaryColorDropdown.value = 4; } for (int i = 0; i < Robots.Length; ++i) { Builder.ActiveRobot = i; GameObject robot = Builder.BuildRobot(Robots[i].Spawn); robot.transform.parent = Robots[i].Spawn; PlayerController player = robot.GetComponent<PlayerController>(); player.LookAtTarget = MyTurnTable.transform; player.CanMove = false; } RobotDefinition = Builder.GetRobotLayout(0); Builder.ActiveRobot = 0; SetIconsFromBuilder(); UpdateUI(); }