using Pink.Environment; using UnityEngine; namespace Pink.Events { class PlayerHurt : Simulation.Event { EnvironmentModel state = Simulation.GetModel(); public override void Execute() { if (state.player.health.IsAlive) { Debug.Log("Player Hurt"); } } } }