Beispiel #1
0
 void Awake()
 {
     _instance         = this;
     _exceptionsThrown = new List <Exception>();
     _debugMessages    = new List <string>();
     GameObject.DontDestroyOnLoad(this.gameObject);
 }
 void Awake()
 {
     _instance = this;
     _exceptionsThrown = new List<Exception>();
     _debugMessages = new List<string>();
     GameObject.DontDestroyOnLoad(this.gameObject);
 }
Beispiel #3
0
 private void Awake()
 {
     Instance          = this;
     _exceptionsThrown = new List <Exception>();
     _infoMessages     = new List <string>();
     _debugMessages    = new List <string>();
     DontDestroyOnLoad(gameObject);
 }