Beispiel #1
0
 private void OnDisable()
 {
     if (s_instance = this)
     {
         s_instance = null;
     }
 }
Beispiel #2
0
 private void Awake()
 {
     s_instance = this;
 }