Beispiel #1
0
 public override void Enter()
 {
     startupAuditor = new WaitForStartupAuditor();
     startupAuditor.Push(ResourcesManager.Instance);
     startupAuditor.Push(UIManager.Instance);
     startupAuditor.Push(UIWindowConfig.Instance);
     startupAuditor.Start();
     GameStarter.Instance.AddGlobalEvent(startupAuditor);
 }
Beispiel #2
0
 public override void Leave()
 {
     GameStarter.Instance.RemoveGlobalEvent(startupAuditor);
     startupAuditor = null;
 }