示例#1
0
 public void ReleaseChar()
 {
     CreateCharacters();
     if (BattleSceneTimer.GetInst().m_iSec >= 0)
     {
         EnableCharacters();
     }
 }
示例#2
0
 private void Awake()
 {
     _inst  = this;
     m_iSec = -1;
     PauseTimer();
 }
示例#3
0
 private void OnDestroy()
 {
     _inst = null;
 }
示例#4
0
 private void _OnBattleStart()
 {
     BattleManager.GetInst().BattleCam.enabled = true;
     BattleSceneTimer.GetInst().BeginTimer();
 }
 //--时间Trigger-------------------------------------------------------------------------------------------
 public BattleTriggerManager()
 {
     BattleSceneTimer.GetInst().AddTickFunc(Tick);
 }
 public void FinalEnemyBorned()
 {
     _iFinalEnemyBornSec = BattleSceneTimer.GetInst().m_iSec;
 }