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

ImageStyle Class

Extends Style
This is a ScriptableObject that's storing the style of the image used by Immersive Debugger.
Containing properties like sprite, colors under different states, pixel density multiplier etc. For more info about Immersive Debugger, check out the official doc

Fields

Whether this image is enabled or not.
By default to true, only the None styled image is false.
The icon used by the image.
Can be null.
The sprite texture used by the image, it can be null if not using it.
The default color of the image, can be used together with the sprite and shown for the default state.
Default to white if not specified.
The color of the image when it's being hovered, can be used together with the sprite.
Default to white if not specified. This is color change is handled by Immersive Debugger UI code.
The color of the image when it's off, can be used together with the sprite.
Default to white if not specified. It's being used for Toggle/Switch UI from Immersive Debugger.
The pixel density of the image.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon