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(); }
protected override void Awake() { _onPressed = new Signal <Vector3>(); _pressGesture = GetComponent <global::TouchScript.Gestures.PressGesture>(); base.Awake(); }