Exemple #1
0
 void OnDestroy()
 {
     mInstance = null;
 }
Exemple #2
0
 void Awake()
 {
     mInstance = this;
 }