C# 클래스 UnityEngine.Events.UnityEvent

상속: UnityEventBase
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
AddListener ( UnityAction call ) : void

Add a non persistent listener to the UnityEvent.

Invoke ( ) : void

Invoke all registered callbacks (runtime and persistent).

RemoveListener ( UnityAction call ) : void

Remove a non persistent listener from the UnityEvent.

보호된 메소드들

메소드 설명
FindMethod_Impl ( string name, object targetObj ) : MethodInfo

비공개 메소드들

메소드 설명
AddPersistentListener ( UnityAction call ) : void
AddPersistentListener ( UnityAction call, UnityEventCallState callState ) : void
GetDelegate ( UnityAction action ) : BaseInvokableCall
GetDelegate ( object target, MethodInfo theFunction ) : BaseInvokableCall
RegisterPersistentListener ( int index, UnityAction call ) : void

메소드 상세

AddListener() 공개 메소드

Add a non persistent listener to the UnityEvent.

public AddListener ( UnityAction call ) : void
call UnityAction Callback function.
리턴 void

FindMethod_Impl() 보호된 메소드

protected FindMethod_Impl ( string name, object targetObj ) : MethodInfo
name string
targetObj object
리턴 System.Reflection.MethodInfo

Invoke() 공개 메소드

Invoke all registered callbacks (runtime and persistent).

public Invoke ( ) : void
리턴 void

RemoveListener() 공개 메소드

Remove a non persistent listener from the UnityEvent.

public RemoveListener ( UnityAction call ) : void
call UnityAction Callback function.
리턴 void