Entity.Has_T_().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Entity

Entity.Has() Method

Returns whether the current Entity has a component of type T.

public bool Has<T>();

Type parameters

T

The type of the component.

Returns

System.Boolean
true if the Entity has a component of type T; otherwise, false.

Contents

  1. 0.1DefaultEcs.Entity
  2. 1Entity.Has() Method