public void UnSetAll() { UIRemodeModernzationTargetShip[] array = this.mUIRemodeModernzationTargetShip_TargetShips; for (int i = 0; i < array.Length; i++) { UIRemodeModernzationTargetShip uIRemodeModernzationTargetShip = array[i]; uIRemodeModernzationTargetShip.UnSet(); } this.mButton_Start.SetState(UIButtonColor.State.Normal, true); this.UpdateStartButtonEnabled(); }
public void Initialize(KeyControl keyController, ShipModel shipModel) { if (keyController != null) { keyController.ClearKeyAll(); keyController.firstUpdate = true; } this.mKeyController = keyController; this.mModernzationShipModel = shipModel; UIRemodeModernzationTargetShip[] array = this.mUIRemodeModernzationTargetShip_TargetShips; for (int i = 0; i < array.Length; i++) { UIRemodeModernzationTargetShip uIRemodeModernzationTargetShip = array[i]; uIRemodeModernzationTargetShip.UnSet(); } this.UpdateStartButtonEnabled(); }