protected override void OnDestroy()
 {
     base.OnDestroy();
     _onPressed.RemoveAllListeners();
     _onPressed = null;
     StopListenGestures();
     _pressGesture = null;
 }
Exemplo n.º 2
0
 protected override void OnDestroy()
 {
     base.OnDestroy();
     _onPressed.RemoveAllListeners();
     _onPressed = null;
     StopListenGestures();
     _pressGesture = null;
 }
 protected override void Awake()
 {
     _onPressed = new Signal<Vector3>();
     _pressGesture = GetComponent<global::TouchScript.Gestures.PressGesture>();
     base.Awake();
 }
Exemplo n.º 4
0
 protected override void Awake()
 {
     _onPressed    = new Signal <Vector3>();
     _pressGesture = GetComponent <global::TouchScript.Gestures.PressGesture>();
     base.Awake();
 }