Sets the value of the component of type T on the current Entity.
This method is not thread safe.
public void Set<T>(in T component);T
The type of the component.
component T
The value of the component.
System.InvalidOperationException
Entity was not created from a World.
System.InvalidOperationException
Max number of component of type T reached.