TextSerializer.Deserialize(Stream,World).md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.Serialization.TextSerializer
TextSerializer.Deserialize(Stream, World) Method
Deserializes Entity instances with their components from the given System.IO.Stream into the given World.
public System.Collections.Generic.ICollection<DefaultEcs.Entity> Deserialize(System.IO.Stream stream, DefaultEcs.World world);
Parameters
stream System.IO.Stream
The System.IO.Stream from which the data will be loaded.
world World
The World instance on which the Entity will be created.
Implements Deserialize(Stream, World)
Returns
System.Collections.Generic.ICollection<Entity>
The Entity instances loaded.