Inheritance: Bolt.GlobalEventListener
Esempio n. 1
0
 void Start()
 {
     if (instance != null)
     {
         DestroyImmediate(this.gameObject);
     }
     instance = this;
     DontDestroyOnLoad(this);
 }
 void Start()
 {
     if (instance != null) DestroyImmediate(this.gameObject);
     instance = this;
     DontDestroyOnLoad(this);
 }