Entity.Disable_T_().md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.Entity
Entity.Disable() Method
Disables the current Entity component of type T so it does not appear in EntitySet.
Does nothing if current Entity does not have a component of type T.
This method is not thread safe.
public void Disable<T>();
Type parameters
T
The type of the component.
Exceptions
System.InvalidOperationException
Entity was not created from a World.