withVisibility
open override fun withVisibility(visibility: () -> Boolean, init: HudElementsBuilder.() -> Unit): VisibilityWrapper
Content copied to clipboard
Sets visibility of an element defined in the init block.
Sets visibility of an element defined in the init block.