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