Click or drag to resize

ManagedUpdateRemoveListener Method (Int32, IEventListener)

Removes a listener for an update loop. If it's not a custom update loop, you can instead unsubscribe directly using OnUpdate, OnLateUpdate or OnFixedUpdate.

Namespace:  Archon.SwissArmyLib.Events.Loops
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void RemoveListener(
	int eventId,
	IEventListener listener
)
Request Example View Source

Parameters

eventId
Type: SystemInt32
The event id of the update loop to unsubscribe from.
listener
Type: Archon.SwissArmyLib.EventsIEventListener
The listener to remove from the update loop.
See Also