public void UpdatePerSec() { if (mStageT == null) { return; } //是不是神秘商店; if (StageModule.IsMysteriousShop(mStageT.m_stageid)) { SpecialStage ss = ObjectSelf.GetInstance().BattleStageData.GetSpecialStageData(); if (ss.m_Time <= 0) { mGo.SetActive(false); } return; } switch (StageModule.GetStageStageType(mStageT)) { case EM_STAGE_STAGETYPE.MAIN: case EM_STAGE_STAGETYPE.SIDE: break; case EM_STAGE_STAGETYPE.MYSTERIOUS: //神秘关卡计时; break; case EM_STAGE_STAGETYPE.SPECIAL: //特殊关卡计时; SpecialStage ss = ObjectSelf.GetInstance().BattleStageData.GetSpecialStageData(); if (ss.m_Time <= 0) { mGo.SetActive(false); } break; case EM_STAGE_STAGETYPE.ACTIVE: break; case EM_STAGE_STAGETYPE.BOSS: break; case EM_STAGE_STAGETYPE.LITMIT_TIMES: break; default: break; } }