Struct ColorTintTransition
Applies a standard color-tint effect on controls that have a PointerInteraction component.
Namespace: Unity.Tiny.UIControls
Syntax
public struct ColorTintTransition : IComponentData
Fields
disabled
The color used when the entity has InactiveUIElement component.
Declaration
public Color disabled
Field Value
Type | Description |
---|---|
Color |
hover
The color used when PointerInteraction.down = false and PointerInteraction.over = false.
Declaration
public Color hover
Field Value
Type | Description |
---|---|
Color |
normal
The color used when PointerInteraction.down = false and PointerInteraction.over = false.
Declaration
public Color normal
Field Value
Type | Description |
---|---|
Color |
pressed
The color used when PointerInteraction.down = true.
Declaration
public Color pressed
Field Value
Type | Description |
---|---|
Color |