Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.94 KB

ILateUpdate.LateUpdate().md

File metadata and controls

13 lines (11 loc) · 1.94 KB

ILateUpdate.LateUpdate() Method

LateUpdate() is called every frame, if the UnityEngine.Behaviour is enabled.

void LateUpdate();

Remarks

LateUpdate() is called after all Update() functions have been called. This is useful to order script execution. For example a follow UnityEngine.Camera should always be implemented in LateUpdate() because it tracks objects that might have moved inside Update(). In order to get the elapsed time since last call to LateUpdate(), use UnityEngine.Time.deltaTime. This function is only called if the UnityEngine.Behaviour is enabled. Override this function in order to provide your UnityEngine.Component's functionality.

See Also