Click or drag to resize

GameObjectEvent Class

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

Represents an event that has a single GameObject parameter.
Inheritance Hierarchy
SystemObject
  UnityEngine.EventsUnityEventBase
    UnityEngine.EventsUnityEventGameObject
      Umbrace.Unity.PurePoolGameObjectEvent

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class GameObjectEvent : UnityEvent<GameObject>

The GameObjectEvent type exposes the following members.

Constructors
  NameDescription
Public methodGameObjectEvent
Initializes a new instance of the GameObjectEvent class
Top
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