LavaPool class controls a liquid pool (lava, water, etc.) in the level. The pool can operate in several modes — disabled, static, auto-adjusting, or tide — and exposes parameters for height, velocity, amplitude, and frequency. You access the pool via Level.lavaPool during gameplay.
Related type: The editor-side configuration is handled byPoolData. The mode enum isPoolMode.
Properties
AutoAdjust Parameters
These properties are used whenmode is PoolMode.AutoAdjust:
Tide Parameters
These properties are used whenmode is PoolMode.Tide: