Click or drag to resize

GameObjectEvent Methods

[This is preliminary documentation and is subject to change.]

The GameObjectEvent type exposes the following members.

Methods
  NameDescription
Public methodAddListener(UnityActionT0) (Inherited from UnityEventGameObject.)
Protected methodAddListener(Object, MethodInfo) (Inherited from UnityEventBase.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFindMethod_Impl (Inherited from UnityEventGameObject.)
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(T0) (Inherited from UnityEventGameObject.)
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(UnityActionT0) (Inherited from UnityEventGameObject.)
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