EntityRecord.Enable_T_().md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.Command.EntityRecord
EntityRecord.Enable() Method
Enables the corresponding Entity component of type T so it can appear in EntitySet.
Does nothing if corresponding Entity does not have a component of type T.
This command takes 9 bytes.
public void Enable<T>();
Type parameters
T
The type of the component.
Exceptions
System.InvalidOperationException
Command buffer is full.