Exemple #1
0
 void OnDisable()
 {
     instance = null;
 }
Exemple #2
0
 void OnEnable()
 {
     instance = this;
 }