You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OnUpdate should be reworked. It has nearly 150 lines of code being ran every frame. This is a CPU hog. Stuff like isShiftDown can be gathered from event handlers and doesn't need to be updated every frame. You're spreading yourself too thin with all of this inside of one function call.
The text was updated successfully, but these errors were encountered:
OnUpdate should be reworked. It has nearly 150 lines of code being ran every frame. This is a CPU hog. Stuff like
isShiftDown
can be gathered from event handlers and doesn't need to be updated every frame. You're spreading yourself too thin with all of this inside of one function call.The text was updated successfully, but these errors were encountered: