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