Ejemplo n.º 1
0
        private void OnDestroy()
        {
            if (!_instance == this)
            {
                return;
            }
            _instance = null;

            OnInputUnSubscribe();
        }
Ejemplo n.º 2
0
 private void Awake()
 {
     _instance = this;
 }