this[]
Access NativeArray<T> elements by index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.