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
The NativeArray of components.
The index of the the components.