Beispiel #1
0
 public void ReleaseChar()
 {
     CreateCharacters();
     if (BattleSceneTimer.GetInst().m_iSec >= 0)
     {
         EnableCharacters();
     }
 }
 private void Awake()
 {
     _inst  = this;
     m_iSec = -1;
     PauseTimer();
 }
 private void OnDestroy()
 {
     _inst = null;
 }
Beispiel #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;
 }