
Unity 2017 Game Optimization
By :

Scenes can get pretty busy sometimes, especially when we're building large, open worlds. The more objects invoking code in an Update()
callback, the worse things it will scale and the slower the game becomes. However, much of what is being processed may be completely unnecessary if it is outside of the player's view or simply too far away to matter. This may not be a possibility in large city-building simulation games, where the entire simulation must be processed at all times, but it is often possible in first-person and racing games since the player is wandering around a large expansive area, where non-visible objects can be temporarily disabled without having any noticeable effect on gameplay.
Sometimes, we may want Components or GameObjects
to be disabled when they're not visible. Unity comes with built-in rendering features to avoid rendering objects that are not visible to the player’s Camera view (through a technique...
Change the font size
Change margin width
Change background colour