Sets up the current World to handle component of type T with a different maximum count than MaxCapacity.
If the type of component is already handled by the current World, does nothing.
This method is not thread safe.
public bool SetMaxCapacity<T>(int maxCapacity);
T
The type of component.
maxCapacity
System.Int32
The maximum number of component of type T that can exist in this World.
System.Boolean
Whether the maximum count has been setted or not.
System.ArgumentException
maxCapacity cannot be negative.