프로퍼티 | 타입 | 설명 | |
---|---|---|---|
allowAutoCleanUp | bool | ||
allowDebugOutputs | bool | ||
allowSingleton | bool | ||
allowWarningOutputs | bool | ||
instance | EventManager |
메소드 | 설명 | |
---|---|---|
addEventListener ( string eventType, GameObject listener, string function ) : bool | ||
dispatchEvent ( CustomEvent evt ) : bool | ||
removeAllEventListeners ( GameObject listener ) : void | ||
removeEventListener ( string eventType, GameObject listener ) : bool |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
OnApplicationQuit ( ) : void | ||
OnLevelWasLoaded ( ) : void | ||
Setup ( ) : void | ||
checkForEvent ( string eventType ) : bool | ||
checkForListener ( string eventType, GameObject listener ) : bool | ||
deleteEvent ( string eventType ) : bool | ||
recordEvent ( string eventType ) : bool | ||
recordListener ( string eventType, GameObject listener, string function ) : bool |
public addEventListener ( string eventType, GameObject listener, string function ) : bool | ||
eventType | string | |
listener | GameObject | |
function | string | |
리턴 | bool |
public removeAllEventListeners ( GameObject listener ) : void | ||
listener | GameObject | |
리턴 | void |
public removeEventListener ( string eventType, GameObject listener ) : bool | ||
eventType | string | |
listener | GameObject | |
리턴 | bool |