Quick question -
Does FixedUpdate and LateUpdate also adhere to the explicit update order if you set it for a script?
The release notes on 3.4 only mention Awake, OnEnable and Update.
Thanks!
Quick question -
Does FixedUpdate and LateUpdate also adhere to the explicit update order if you set it for a script?
The release notes on 3.4 only mention Awake, OnEnable and Update.
Thanks!
AFAIK, it will only work for functions that they mentioned (Awake, OnEnable, and Update).
But, with regards to LateUpdate, normally you put a function in LateUpdate when you want to make sure that it was executed after another script. For example you want to make sure the player is done moving before you adjust the camera. So you can always place that you want to be "LateUpdate()
'd after all the scripts that you want to be āUpdate()
'dā and call all of them through Update().