ドキュメント

Unity Engine

Unity Engine

SetActivePseudoState(bool)

Sets whether or not this element is displayed as being active.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void SetActivePseudoState(bool value)

Parameters

value

Remarks

If set to true, this element will match the
:active
pseudo-class.
Some elements, like the Button, 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.