setUIVisible
此内容尚不支持你的语言。
setUIVisible(
world,entity,visible):void
Defined in: ui/core/compose.ts:200
Toggle visibility of a UI entity via UIVisual.enabled. Safe if the entity has no UIVisual — no-op in that case.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
visible
Section titled “visible”boolean
Returns
Section titled “Returns”void