color
: Color |
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.
Signature
Color color |
colorHover
: Color |
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.
Signature
Color colorHover |
colorOff
: Color |
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.
Signature
Color colorOff |
enabled
: bool |
Whether this image is enabled or not.
By default to true, only the None styled image is false.
Signature
bool enabled |
icon
: Texture2D |
The icon used by the image.
Can be null.
Signature
Texture2D icon |
pixelDensityMultiplier
: float |
The pixel density of the image.
Signature
float pixelDensityMultiplier |
sprite
: Sprite |
The sprite texture used by the image, it can be null if not using it.
Signature
Sprite sprite |