Interface IPeriodicUpdateSystem
Provides periodic callback registration and dispatch functionality. Allows components to register callbacks that execute at specified intervals.
public interface IPeriodicUpdateSystem
Methods
RegisterPeriodicCallback(float, Action<float>)
Registers a callback to be invoked periodically at the specified interval.
void RegisterPeriodicCallback(float interval, Action<float> callback)
Parameters
intervalfloatTime in seconds between callback invocations.
callbackAction<float>The callback to invoke. Receives delta time since last invocation.
UnregisterPeriodicCallback(Action<float>)
Unregisters a previously registered periodic callback.
void UnregisterPeriodicCallback(Action<float> callback)
Parameters
UpdateCallbackInterval(Action<float>, float)
Updates the interval for an existing periodic callback.
void UpdateCallbackInterval(Action<float> callback, float newInterval)