setButtonState
此内容尚不支持你的语言。
setButtonState(
world,entity,state):void
Defined in: ui/widgets/button.ts:165
Imperatively set a button’s $interaction page. Useful for custom states
like “loading” that the pointer driver does not manage — the driver leaves
any non-canonical page alone until user code switches back.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
string
Returns
Section titled “Returns”void