Documentation

Unity Engine


Unity Engine


RefRO(NativeArray<T>, int)

Stores a safe reference to a component from an array of components at the index.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public RefRO(NativeArray<T> componentDataArray, int index)

Parameters

componentDataArray

The NativeArray of components.

index

The index of the the components.