DamagedEvent
Declaration
public struct Strawberry.Components.Lifecycle.DamagedEvent
This event occurs every time an entity is damaged.
Implements: Strawberry.EventSystem.IStrawberryEvent
Properties
Amount
Gets the amount of damage dealt to this entity.
float Amount { get set }
Fields
HealthComponent
The HealthComponent that got damaged (The event caller).
HealthComponent HealthComponent