can "void Update" impact a lot of performance?

Hello, I’m a newbie.

I’m just wondering if I use “void Update” to get value from some source every frame. Is that a good thing to do with coding? because every time I dig into a professional asset code, I’m not sure they use that much. Or we should avoid using “void Update” or it just finds to use?

It is fine to use. Don’t optimise, just make your game and post if anything ever becomes a problem one day. If.

4 Likes

A good thing to do with coding is to not prematurely optimize before you’re aware of what needs to be optimized.

2 Likes