ドキュメント

Unity Engine

Download Unity

Unity Engine

Read<T>(BinaryReader)

Reads bytes from a BinaryReader instance and deserializes them into a new blob asset.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static BlobAssetReference<T> Read<T>(this BinaryReader binaryReader) where T : unmanaged

Parameters

binaryReader

An implementation of the BinaryReader interface.

Returns

Type

Description

BlobAssetReference<T>A reference to the deserialized blob asset.

Remarks

Additional Resources: StreamBinaryReader, MemoryBinaryReader