public abstract class BehaviourManager

Inherits MonoBehaviour

Base class for behaviour managers like LimbBehaviourManager. They replace and speed up Unity's default nightmare message system hell way of updating things. It also provides some certainty when it comes to updating order and allows more update passes.

Methods

protected abstract IList<T> GetCollection()

Should return the collection of behaviours in the world, usually handled by the behaviour itself using a static collection that it adds and removes itself to and from.


protected virtual void Update()

Run the main update pass. Calls IManagedBehaviour.ManagedUpdate for every existing item in the collection if IManagedBehaviour.ShouldUpdate returns true.


protected virtual void FixedUpdate()

Run the fixed update pass. Calls IManagedBehaviour.ManagedFixedUpdate for every existing item in the collection if IManagedBehaviour.ShouldUpdate returns true.


protected virtual void LateUpdate()

Run the late update pass. Calls IManagedBehaviour.ManagedLateUpdate for every existing item in the collection if IManagedBehaviour.ShouldUpdate returns true.


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi