World.GetAll_T_().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.World

World.GetAll() Method

Gets all the component of a given type T.

public System.Span<T> GetAll<T>();

Type parameters

T

The type of component.

Returns

System.Span<T>
A System.Span<> pointing directly to the component values to edit them.

Contents

  1. 0.1DefaultEcs.World
  2. 1World.GetAll() Method