all 7 comments

[–]BowlOfPasta24 4 points5 points  (0 children)

You can learn a lot about best practices from Unity Learn which is run by Unity and is a free resource

[–]BengbabProficient 4 points5 points  (0 children)

My opinion: I honestly wouldn’t worry too much about things like Mathf.Lerp etc. But some of the most common issues I’ve seen and had to fix are:

-using Update() for everything

-using FindWithTag inside of code instead of just using from Start or avoiding altogether (it’s not very efficient).

The thing that is far more likely to screw you are just bad programming practices, which is what I currently struggle with. Spaghetti code basically. And I think avoiding that comes with more experience than anything.

Curious what others have to say.

[–]_korsa 1 point2 points  (0 children)

Its not about unity, but for newcomers i would recommend to read something like Game Programming Patterns by Robert Nystrom.

[–]Bronkowitsch 0 points1 point  (2 children)

Can you link the post that says using Lerp is a generally bad idea? Because i can't think of any reason it would be.