API reference
WorldSnapshot
A copy of a world's entities, components and singletons, taken by World.Capture and put back by World.Restore (systems and options are not part of it).
public sealed class WorldSnapshotA copy of a world's entities, components and singletons, taken by World.Capture and put back by World.Restore (systems and options are not part of it). Holds the copies only; it can be restored any number of times, into the world it was taken from. World.Capture overwrites it, reusing its arrays (no allocation once they are large enough).
Properties
EntityCount
public int EntityCount { get; }Alive entities in the snapshot.
Edit on GitHub
Last updated on
How is this guide?