Beispiel #1
0
 void OnDestroy()
 {
     _current = null;
 }
Beispiel #2
0
 void Awake()
 {
     Debug.Assert(_current == null);
     _current = this;
 }