World.Has_T_().md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.World
World.Has() Method
Returns whether the current World has a component of type T.
It has nothing to do whether or not the current World instance has an Entity with a component of type T.
public bool Has<T>();
Type parameters
T
The type of the component.
Returns
System.Boolean
true if the World has a component of type T; otherwise, false.