ComponentCloner.OnComponent_T_(T,bool).md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.ComponentCloner
ComponentCloner.OnComponent(T, bool) Method
Handles the component of type T from the source Entity.
protected virtual void OnComponent<T>(in T component, bool isEnabled);
Type parameters
T
The type of the component.
Parameters
component T
The value of the component.
isEnabled System.Boolean
Whether the component is enabled or not on the source Entity.