Documentation

Unity Engine


Unity Engine


GetEnabledRefRO<T>(int)

Get a EnabledRefRO<T> reference to the enabled bit at index.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EnabledRefRO<T> GetEnabledRefRO<T>(int index) where T : unmanaged, IEnableableComponent

Parameters

index

The index to the enabled bit in the chunk.

Returns

Type

Description

EnabledRefRO<T>A reference to the enabled bit for the component at the specified index.