MonoBehaviour.LateUpdatefunction LateUpdate () : voidDescriptionLateUpdate is called every frame, if the Behaviour is enabled. LateUpdate is called after all Update functions have been called. This is useful to order script execution. For example a follow camera should always be implemented in LateUpdate because it tracks objects that might have moved inside Update.
JavaScript
// Moves the object forward 1 meter a second using UnityEngine; import UnityEngine |
