Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ColorBlock

Description

Structure to store the state of a color transition on a Selectable.

Static Variables

defaultColorBlock Simple getter for the default ColorBlock.

Variables

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.