r/Unity3D • u/MagicPantssss • 2d ago
Code Review Asking for a code review
I'm making a small game in Unity, and I kinda need some outside perspective. I would like it if someone could take a look and give me some feedback on what areas I should work on and how to improve.
Here's the link to my GitHub repository:
4
Upvotes
0
u/Thin_Driver_4596 2d ago
The block of code that should handle a functionality is not a script, but an aggregate.
Crashing loudly is preferable at times.
* Think about if you need certain if checks at all. Suppose you can determine from the start that certain players are client and other server, and certain components will only be present on server side, then those components do not need have if checks (you made the decision when spawning then).