| ManagedUpdateAddListener Method (Int32, Action, Int32) |
Namespace:
Archon.SwissArmyLib.Events.Loops
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void AddListener(
int eventId,
Action listener,
int priority = 0
)
Request Example
View SourceParameters
- eventId
- Type: SystemInt32
The event id of the update loop to subscribe to. - listener
- Type: SystemAction
The listener to add to the update loop. - priority (Optional)
- Type: SystemInt32
The priority of the listener, controlling whether the listener
is called before (lower) or later (higher) than other listeners.
See Also