Click or drag to resize

ManagedUpdateAddCustomUpdateLoop Method

Adds a custom update loop.

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 AddCustomUpdateLoop(
	ICustomUpdateLoop updateLoop,
	UpdateLoop parentLoop = UpdateLoop.Update,
	int priority = 0
)
Request Example View Source

Parameters

updateLoop
Type: Archon.SwissArmyLib.Events.LoopsICustomUpdateLoop
The custom update loop implementation.
parentLoop (Optional)
Type: Archon.SwissArmyLib.UtilsUpdateLoop
Which Unity update loop should this be run under?
priority (Optional)
Type: SystemInt32
A priority that decides whether this update loop runs before or after other custom update loops.
See Also