API reference
API reference
Select your platform
No SDKs available
No versions available

Background Class

Extends Controller
This is a MonoBehaviour used for generic background of UI element.
Allows using Sprite texture or pure Color, can set PixelDensityMultiplier. Used in Immersive Debugger for all the UI elements' background. For more info about Immersive Debugger, check out the official doc

Properties

The sprite texture used for the Image of the background.
Can be null if not using it.
The Color used for the Image of the background.
Can work together with the Sprite property and change based on events like hover/click.
The pixelsPerUnitMultiplier property for the Image of the background.
Which is the pixel per unit modifier to change how sliced sprites are generated.
Sets the Raycast Target property of the instantiated Image

Protected Functions

virtual override void Setup
( Controller owner )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon