跳转到内容

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.

World

number

boolean

void