文档

Unity Engine

Download Unity

Unity Engine

ReadArray<T>(BinaryReader, NativeArray<T>, int)

Reads the specified number of elements from a native array.
阅读时间1 分钟最后更新于 19 天前

Definition

public static void ReadArray<T>(this BinaryReader reader, NativeArray<T> elements, int count) where T : struct

Parameters

The BinaryReader to read from.

The native array to read of.

count

The number of elements to read.