ComponentChangedHandler_T_(Entity,T,T).md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs
ComponentChangedHandler(Entity, T, T) Delegate
Represents the method that will called when a component of type T is removed from an Entity.
public delegate void ComponentChangedHandler<T>(in DefaultEcs.Entity entity, in T oldValue, in T newValue);
Type parameters
T
The type of the component removed.
Parameters
entity Entity
The Entity on which the component was changed.
oldValue T
The previous value of the component.
newValue T
The new value of the component.