November 2019
Intermediate to advanced
404 pages
12h 9m
English
Rendering a UI element with an alpha value of 0 in its color property will still cause a draw call to be issued. We should favor changing the IsActive property of a UI element to hide it when necessary. Another alternative is to use Canvas Groups via CanvasGroup Components, which can be used to control the alpha transparency of all child elements beneath them. Setting the alpha value of a Canvas Group to 0 will cull away its child objects, and, therefore, no draw calls will be issued.
Read now
Unlock full access