protected void UpdateMode() { if (_iPhaseReq == ArsenalPhase.BattlePhase_BEF) { return; } switch (_iPhaseReq) { case ArsenalPhase.BattlePhase_ST: if (_clsTasks.Open(_clsArsenal) < 0) { return; } break; case ArsenalPhase.NormalConstruct: if (_clsTasks.Open(_clsConstruct) < 0) { return; } break; case ArsenalPhase.List: if (_clsTasks.Open(_clsList) < 0) { return; } break; } _iPhase = _iPhaseReq; _iPhaseReq = ArsenalPhase.BattlePhase_BEF; }
private void Start() { _clsTasks.Init(); _iPhase = (_iPhaseReq = ArsenalPhase.BattlePhase_ST); SingletonMonoBehaviour <UIPortFrame> .Instance.CircleUpdateInfo(logicManager); _clsConstruct.firstInit(); _clsList.firstInit(); }
public static void ReqPhase(ArsenalPhase iPhase) { _iPhaseReq = iPhase; }