Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Selectable.DoStateTransition

protected void DoStateTransition(UI.Selectable.SelectionState state, bool instant);

Parameters

state State to transition to.
instant Should the transition occur instantly.

Description

Transition the Selectable to the entered state.