Draft - Update, Late, Fixed.
Needs renaming, and better comments/tooltip.
From discord:
- we don't need Update(), only LateUpdate and FixedUpdate
- need to change Time.deltaTIme to Time.fixedDeltaTime in case of fixedupdate
@JesusLuvsYooh can we still do this for all the current NTs by any chance? just ldateupdate & fixedupdate?
@JesusLuvsYooh can we still do this for all the current NTs by any chance? just ldateupdate & fixedupdate?
Sure go ahead, I think Gadget wanted to move it to NT Base too, which makes sense. Probably easier to start fresh branch/pr and add it, use this one as inspiration and then we can delete it. (I'd still recommend we add all 3 updates as an option, im sure there's been cases where each one has been needed)
start fresh branch/pr
Agreed, with the following suggestions:
-
Change the order of the enum to most-to-least likely usage
public enum UpdateMethod { Update, FixedUpdate, LateUpdate } -
Rename
UpdateCalltoDoUpdate -
Apply to NTBase instead of the individual NT variants.
NTHybrid already has Use Fixed Update bool and examples use it, so this is a breaking change and examples will need to be updated accordingly.