SetCheckedPseudoState(bool)
Sets whether or not this element is displayed as being checked.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void SetCheckedPseudoState(bool value)
Parameters
Remarks
If set to true, this element will match the pseudo-class.
:checkedSome elements, like the Toggle, use this method internally to reflect changes to their internal state. Calling this method on those elements may have no effect or only result in a temporary change in their displayed styles.