Beispiel #1
0
 private void Awake()
 {
     ForegroundInvoker.Initialize().transform.parent = this.transform;
     ForegroundProcessor.Initialize().transform.parent = this.transform;
     BackgroundProcessor.Initialize();
     DontDestroyOnLoad(this.gameObject);
 }
Beispiel #2
0
 private void OnApplicationQuit()
 {
     ForegroundInvoker.Exit();
     ForegroundProcessor.Exit();
     BackgroundProcessor.Exit();
 }