World.GetAll_T_().md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.World
World.GetAll() Method
Gets all the component of a given type T.
public System.Span<T> GetAll<T>();
Type parameters
T
The type of component.
Returns
System.Span<T>
A System.Span<> pointing directly to the component values to edit them.