Constructor RefRO
RefRO(NativeArray<T>, int)
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. |
int | index | The index of the the components. |