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