Пример #1
0
 void OnDestroy()
 {
     _current = null;
 }
Пример #2
0
 void Awake()
 {
     _current = this;
 }