Documentation

Unity Engine

Download Unity

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 a month 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.