Click or drag to resize

Archon.SwissArmyLib.Events.Loops Namespace

[Missing <summary> documentation for "N:Archon.SwissArmyLib.Events.Loops"]

Classes
  ClassDescription
Public classCustomUpdateLoopBase
An abstract class for custom update loops that implement basic functionality to track invokation times and deltatimes.
Public classFrameIntervalUpdateLoop
A basic custom update loop that runs every nth frame.
Public classManagedUpdate
A relay for Unity update events. Here's why you might want to use this: https://blogs.unity3d.com/2015/12/23/1k-update-calls/ In short; avoid overhead of Native C++ --> Managed C# calls. Also useful for non-MonoBehaviours that needs to be part of the update loop as well. Built-in events your can subscribe to: You can also create your own custom update loops (eg. to run every nth second) using AddCustomUpdateLoop(ICustomUpdateLoop, UpdateLoop, Int32) and AddListener(Int32, Action, Int32).
Public classManagedUpdateEventIds
Relayed event ids.
Public classManagedUpdateBehaviour
A subclass of MonoBehaviour that uses ManagedUpdate for update events. To receive updates implement one or more of the appropriate interfaces: IUpdateable, ILateUpdateable, IFixedUpdateable and ICustomUpdateable.
Public classTimeIntervalUpdateLoop
A basic custom update loop that runs every nth second either in scaled or unscaled time.
Interfaces
  InterfaceDescription
Public interfaceICustomUpdateable
Makes a ManagedUpdateBehaviour subclass get notified when a custom update loop ticks.
Public interfaceICustomUpdateLoop
Represents an implementation of a custom update loop. You will probably be better of subclassing CustomUpdateLoopBase for a simpler start, but it's here if you need it.
Public interfaceIFixedUpdateable
Makes a ManagedUpdateBehaviour subclass get notified on a fixed update.
Public interfaceILateUpdateable
Makes a ManagedUpdateBehaviour subclass get notified on a late update.
Public interfaceIUpdateable
Makes a ManagedUpdateBehaviour subclass get notified on an update.