EntitySerializer.RestoreWorldFromSnapshot(IEntityWorld, WorldSnapshot) Method
Definition
Namespace: Brine2D.ECS.Serialization
Restores entities from a snapshot into the world. CLEARS the existing world first!
C#
public void RestoreWorldFromSnapshot(Brine2D.ECS.IEntityWorld world, Brine2D.ECS.Serialization.WorldSnapshot snapshot);
Parameters
world IEntityWorld
snapshot WorldSnapshot