Components_T_.md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs

Components Struct

Provides a fast access to the components of type T.
Note that all entity modification operations are not safe (anything different than a simple Get<T>()) and may invalidate the Components<T>.

public readonly ref struct Components<T>

Type parameters

T

The type of the component.

Properties
this[Entity]Gets the component of type T on the provided Entity.

Contents

  1. 0.1DefaultEcs
  2. 1Components Struct