Exemple #1
0
 void Awake()
 {
     if (_instance != null && _instance != this)
     {
         Destroy(gameObject);
         return;
     }
     _instance = this;
     DontDestroyOnLoad(gameObject);
     _loom = new LoomDispatcher();
 }
Exemple #2
0
 void OnDestroy()
 {
     _loom = null;
 }
Exemple #3
0
 void Awake()
 {
     _loom = new LoomDispatcher();
 }
Exemple #4
0
 void OnDestroy()
 {
     _loom = null;
 }
Exemple #5
0
 void Awake()
 {
     _loom = new LoomDispatcher();
 }
 private void OnDestroy()
 {
     _loom = null;
 }
 void OnDestroy()
 {
     loom        = null;
     initialized = false;
 }