Property | Type | Description | |
---|---|---|---|
allowAutoCleanUp | bool | ||
allowDebugOutputs | bool | ||
allowSingleton | bool | ||
allowWarningOutputs | bool | ||
instance | EventManager |
Method | Description | |
---|---|---|
addEventListener ( string eventType, GameObject listener, string function ) : bool | ||
dispatchEvent ( CustomEvent evt ) : bool | ||
removeAllEventListeners ( GameObject listener ) : void | ||
removeEventListener ( string eventType, GameObject listener ) : bool |
Method | Description | |
---|---|---|
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 | |
return | bool |
public dispatchEvent ( CustomEvent evt ) : bool | ||
evt | CustomEvent | |
return | bool |
public removeAllEventListeners ( GameObject listener ) : void | ||
listener | GameObject | |
return | void |
public removeEventListener ( string eventType, GameObject listener ) : bool | ||
eventType | string | |
listener | GameObject | |
return | bool |