Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine.UI
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseStructure to store the state of a color transition on a Selectable.
defaultColorBlock | Simple getter for the default ColorBlock. |
colorMultiplier | Multiplier applied to colors (allows brightening greater then base color). |
disabledColor | Disabled Color. |
fadeDuration | How long a color transition should take. |
highlightedColor | Highlighted Color. |
normalColor | Normal Color. |
pressedColor | Pressed Color. |