World.GetMaxCapacity_T_().md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.World
World.GetMaxCapacity() Method
Gets the maximum number of T components this World can create.
public int GetMaxCapacity<T>();
Type parameters
T
The type of component.
Returns
System.Int32
The maximum number of T components this World can create, or -1 if it is currently not handled.