onEnable

open fun onEnable()

Lifecycle function; called when this state is enabled on its registered instance.