Event Listeners
Last updated
Last updated
The pro version comes with two useful event listener components you can use to setup actions and logic right in the inspector if the health of an object changes or becomes empty.
The OnHealthChanged event gets invoked when the health of an object changes. You can add it to a GameObject by clicking Add Component->Health System->Events->Ob Health Changed
The OnHealthChanged event gets invoked when the health of an object changes. You can add it to a GameObject by clicking Add Component->Health System->Events->Ob Health Empty