Show / Hide Table of Contents

Class UnityEvent

Inheritance
Object
UnityEventBase
UnityEvent
Implements
ISerializationCallbackReceiver
Inherited Members
UnityEventBase.ISerializationCallbackReceiver.OnBeforeSerialize()
UnityEventBase.ISerializationCallbackReceiver.OnAfterDeserialize()
UnityEventBase.GetPersistentEventCount()
UnityEventBase.GetPersistentTarget(Int32)
UnityEventBase.GetPersistentMethodName(Int32)
UnityEventBase.SetPersistentListenerState(Int32, UnityEventCallState)
UnityEventBase.AddListener(Object, MethodInfo)
UnityEventBase.RemoveListener(Object, MethodInfo)
UnityEventBase.RemoveAllListeners()
UnityEventBase.Invoke(Object[])
UnityEventBase.ToString()
UnityEventBase.GetValidMethodInfo(Object, String, Type[])
UnityEventBase.ValidateRegistration(MethodInfo, Object, PersistentListenerMode)
UnityEventBase.ValidateRegistration(MethodInfo, Object, PersistentListenerMode, Type)
UnityEventBase.RegisterPersistentListener(Int32, Object, MethodInfo)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Events
Assembly: UnityEngine.dll
Syntax
[Serializable]
public class UnityEvent : UnityEventBase, ISerializationCallbackReceiver

Constructors

| Improve this Doc View Source

UnityEvent()

Declaration
public UnityEvent()

Methods

| Improve this Doc View Source

AddListener(UnityAction)

Declaration
public void AddListener(UnityAction call)
Parameters
Type Name Description
UnityAction call
| Improve this Doc View Source

FindMethod_Impl(String, Object)

Declaration
protected override MethodInfo FindMethod_Impl(string name, object targetObj)
Parameters
Type Name Description
String name
Object targetObj
Returns
Type Description
MethodInfo
Overrides
UnityEventBase.FindMethod_Impl(String, Object)
| Improve this Doc View Source

Invoke()

Declaration
public void Invoke()
| Improve this Doc View Source

RemoveListener(UnityAction)

Declaration
public void RemoveListener(UnityAction call)
Parameters
Type Name Description
UnityAction call

Implements

ISerializationCallbackReceiver

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX