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); }
private void Awake() { Instance = this; _exceptionsThrown = new List <Exception>(); _infoMessages = new List <string>(); _debugMessages = new List <string>(); DontDestroyOnLoad(gameObject); }