예제 #1
0
 private void BuildFleetCommand() {
     GameObject fleetCmdGo = UnityUtility.AddChild(gameObject, RequiredPrefabs.Instance.fleetCmd.gameObject);
     _fleetCmd = fleetCmdGo.GetSafeMonoBehaviourComponent<StarbaseItem>();
 }
예제 #2
0
 private void DeployExistingFleet() {
     InitializeShips();
     _fleetCmd = gameObject.GetSafeMonoBehaviourComponentInChildren<StarbaseItem>();
     InitializeFleet();
     SelectFlagship();
     AssignFormationPositions();
 }