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