コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }