Interfaces

These interfaces must be implemented to use Unity frame actions on binded objects that do not derive from MonoBehaviour. The methods of the relevant object are triggered by the Unity frame actions of the context in which it is binded. There are 5 different interfaces:

  • IInitializable = In the relevant context, there is the Initialize method called in Awake

  • IFixedUpdatable = In the relevant context, there is the FixedUpdate method called in FixedUpdate

  • IUpdatable = In the relevant context, there is the Update method called in Update

  • ILateUpdatable = In the relevant context, there is the LateUpdate method called in LateUpdate

  • ILateDisposable = In the relevant context, there is the LateDispose method called in OnDestroy

Last updated