Example #1
0
 private void OnEnable()
 {
     instance = this;
 }
Example #2
0
 private void OnDestroy()
 {
     instance = null;
 }
Example #3
0
 private void Awake()
 {
     instance = this;
 }