setVisibilityOf

abstract fun setVisibilityOf(effect: EffectFX<P>, visibility: Boolean)

Sets the visibility of the specified effect.

See also

Parameters

effect

the effect

visibility

the visibility to set

Throws

if can't find the effect