Click or drag to resize

ComponentEvent Class

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

Represents an event that has a single Component parameter.
Inheritance Hierarchy
SystemObject
  UnityEngine.EventsUnityEventBase
    UnityEngine.EventsUnityEventComponent
      Umbrace.Unity.PurePoolComponentEvent

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 ComponentEvent : UnityEvent<Component>

The ComponentEvent type exposes the following members.

Constructors
  NameDescription
Public methodComponentEvent
Initializes a new instance of the ComponentEvent class
Top
Methods
  NameDescription
Public methodAddListener(UnityActionT0) (Inherited from UnityEventComponent.)
Protected methodAddListener(Object, MethodInfo) (Inherited from UnityEventBase.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFindMethod_Impl (Inherited from UnityEventComponent.)
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 UnityEventComponent.)
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 UnityEventComponent.)
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