Constructor RefRO
RefRO(NativeArray<T>, Int32)
Stores a safe reference to a component from an array of components at the index.
Declaration
public RefRO(NativeArray<T> componentDataArray, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeArray<T> | componentDataArray | The NativeArray of components. |
| Int32 | index | The index of the the components. |