pub type OnDespawn = Despawn;
👎Deprecated since 0.17.0: Renamed to
Despawn
.Expand description
Deprecated in favor of Despawn
.
Aliased Type§
pub struct OnDespawn {
pub entity: Entity,
}
Fields§
§entity: Entity
The entity that held this component before it was despawned.