Documentation

Unity Engine


Unity Engine


Write

Writes the blob data to a path with serialized version.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Write<T>(T, BlobBuilder, int)

Writes the blob data to a path with serialized version.
public static void Write<U>(U writer, BlobBuilder builder, int version) where U : BinaryWriter

Parameters

writer

T
The binary writer to write the blob with.

The BlobBuilder containing the blob to write.

version

Serialized version number of the blob data.

Write(BlobBuilder, string, int)

Writes the blob data to a path with serialized version.
public static void Write(BlobBuilder builder, string path, int version)

Parameters

The BlobBuilder containing the blob to write.

path

The path to write the blob data.

version

Serialized version number of the blob data.