Click or drag to resize

GestureRecognizerComponentEvent Methods

The GestureRecognizerComponentEvent type exposes the following members.

Methods
  NameDescription
Public methodAddListener(UnityAction)

Add a non persistent listener to the UnityEvent.

(Inherited from UnityEvent.)
Protected methodAddListener(Object, MethodInfo) (Inherited from UnityEventBase.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFindMethod_Impl (Inherited from UnityEvent.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPersistentEventCount

Get the number of registered persistent listeners.

(Inherited from UnityEventBase.)
Public methodGetPersistentMethodName

Get the target method name of the listener at index index.

(Inherited from UnityEventBase.)
Public methodGetPersistentTarget

Get the target component of the listener at index index.

(Inherited from UnityEventBase.)
Public methodGetType (Inherited from Object.)
Public methodInvoke

Invoke all registered callbacks (runtime and persistent).

(Inherited from UnityEvent.)
Protected methodInvoke(Object) (Inherited from UnityEventBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodRegisterPersistentListener (Inherited from UnityEventBase.)
Public methodRemoveAllListeners

Remove all non-persisent (ie created from script) listeners from the event.

(Inherited from UnityEventBase.)
Public methodRemoveListener(UnityAction)

Remove a non persistent listener from the UnityEvent.

(Inherited from UnityEvent.)
Protected methodRemoveListener(Object, MethodInfo) (Inherited from UnityEventBase.)
Public methodSetPersistentListenerState

Modify the execution state of a persistent listener.

(Inherited from UnityEventBase.)
Public methodToString (Inherited from UnityEventBase.)
Protected methodValidateRegistration(MethodInfo, Object, PersistentListenerMode) (Inherited from UnityEventBase.)
Protected methodValidateRegistration(MethodInfo, Object, PersistentListenerMode, Type) (Inherited from UnityEventBase.)
Top
See Also