void Awake()
 {
     PauseController.EnablePausing(false);
     if (this.LevelGenManager != null)
     {
         this.LevelGenManager.AddUpdateDelegate(levelGenUpdate);
     }
 }
示例#2
0
 public void LevelStartOut()
 {
     PauseController.EnablePausing(true);
     if (this.LevelIntroPanel != null)
     {
         this.LevelIntroPanel.GetComponent <Animator>().SetTrigger("LevelStartOut");
     }
 }
示例#3
0
 public void EndLevel()
 {
     PauseController.EnablePausing(false);
     this.LevelCompletePanel.GetComponent <Animator>().SetTrigger("LevelCompleteIn");
     this.GetComponent <TimedCallbacks>().AddCallback(this, this.LevelCompleteOut, this.LevelCompleteScreenLength);
 }