Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

NativeSlice<T0>.this[int]

public T this[int];

Description

Accesses NativeSlice<T0> elements by index.

Structs are returned by value and not by reference. This property also takes the NativeSlice's stride into account.