Scripting API

ReadOnlyArray<TValue>

struct in UnityEngine.InputSystem.Utilities · Unity.InputSystem

Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix

A read-only view of an array (Unity's allocation-free collection type).

Constructors 1

ReadOnlyArray(TValue[]? array)
ReadOnlyArray(TValue[]? array, int index, int length)

Properties 2

int Count { get; }
TValue this[int index] { get; }

Methods 3

Enumerator GetEnumerator()
int IndexOf(Predicate<TValue> predicate)
TValue[] ToArray()

Operators 1

static implicit operator ReadOnlyArray<TValue>(TValue[] array)