this[]
Access NativeArray<T> elements by index.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
this[int]
public T this[int index] { get; set; }
Parameters
Returns
Type | Description |
|---|---|
| T |
Remarks
Structs are returned by value and not by reference.