Ctrl+K

KilledEvent

Declaration

public struct Strawberry.Components.Lifecycle.KilledEvent

This event occurs every time an entity gets killed. (The health of the HealthComponent reaches 0 or below)

Implements: Strawberry.EventSystem.IStrawberryEvent

Fields

HealthComponent

The HealthComponent that got killed (The event caller).

HealthComponent HealthComponent