KernelAPI reference
Interface IDestroyedCallback
Namespace: MicroEngine.Scenes
Assembly: MicroEngine.Scene.dll
Guide: Scenes
An attachment told when its entity is released (at the end of the step its entity was destroyed in).
public interface IDestroyedCallbackMethods
OnDestroyed(EntityId)
Called once; the entity’s transform and attachments are still readable, and it may destroy other entities.
void OnDestroyed(EntityId entity)Parameters
entity EntityId