November 2019
Intermediate to advanced
404 pages
12h 9m
English
UI elements have a Raycast Target option, which enables them to be interacted with by clicks, taps, and other user behavior. Each time one of these events takes place, the GraphicsRaycaster component will perform pixel-to-bounding box checks to figure out which element has been interacted with and is a simple iterative for loop. By disabling this option for non-interactive elements, we're reducing the number of elements that GraphicsRaycaster needs to iterate through, thereby saving performance.
Read now
Unlock full access