UpdateBehaviour


Declaration

public abstract class UpdateBehaviour : MonoBehaviour

Description

A behavior that can run in any update mode. The update mode can be changed as needed without incurring any additional performance cost.

Properties

updateModeThe update mode of the behavior.
customStrategyThe custom update strategy to use.

Methods

OnUpdateHandles behavior updates.
OnEnableA Unity lifecycle method called when the behavior is enabled.
OnDisableA Unity lifecycle method called when the behavior is disabled.