private IEnumerator DoLoadSelectEnter() { yield return(Util.WaitEndOfFrames(4)); isInherit = true; ModeProc.ChangeMode(1); yield return(null); }
private void AdmiralRankJudgeRun() { if (key.IsMaruDown() && JudgeFinished) { if (rankJudge != null) { rankJudge.StopParticle(); } ModeProc.ChangeMode(1); } }
private void GotoSupplyConfirm() { if (!CheckDeckState()) { return; } ShipModel[] ships = CurrentDeck.GetShips(); for (int i = 0; i < ships.Length; i++) { if (ships[i].IsTettaiBling()) { CommonPopupDialog.Instance.StartPopup("撤退中の艦を含んでいます"); return; } } SupplyMng = new SupplyManager(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck.AreaId); SupplyMng.InitForDeck(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck.Id); if (SupplyMng.CheckBoxALLState != CheckBoxStatus.ON) { SupplyMng.ClickCheckBoxAll(); } if (SupplyMng.CheckedShipIndices.Length == 0) { CommonPopupDialog.Instance.StartPopup("補給対象の艦が居ません"); } else if (!SupplyMng.IsValidSupply(SupplyType.All)) { CommonPopupDialog.Instance.StartPopup("資源が不足しています"); } else { ModeProcessor.ChangeMode(1); } }