ISerializer.Serialize(Stream,IEnumerable_Entity_).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Serialization.ISerializer

ISerializer.Serialize(Stream, IEnumerable) Method

Serializes the given Entity instances with their components into the provided System.IO.Stream.

void Serialize(System.IO.Stream stream, System.Collections.Generic.IEnumerable<DefaultEcs.Entity> entities);

Parameters

stream System.IO.Stream

The System.IO.Stream in which the data will be saved.

entities System.Collections.Generic.IEnumerable<Entity>

The Entity instances to save.