- Joined
- Jul 12, 2017
What about going back to the classic struct?
That could help reduce the garbage collection, but many abuse the gc.
Most inexperienced people tend to not really care about the programming aspect of the game and will slap everything into a single function. If whatever method they're using generates the expected outcome they don't really care about making it easier for themselves or their computer.
I've seen unity games made by people, where in every frame, they search through all the objects in the scene to find the main camera, when they could search for it once and store the camera in a local variable.
Last edited: