Struct EntityManagerPatcher
The EntityManagerPatcher is used apply an EntityChangeSet to a given world.
Namespace: Unity.Entities
Syntax
public struct EntityManagerPatcher : IDisposable
Constructors
EntityManagerPatcher(World, Allocator)
Declaration
public EntityManagerPatcher(World world, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
World | world | |
Allocator | allocator |
Methods
ApplyChangeSet(EntityChangeSet)
Declaration
public void ApplyChangeSet(EntityChangeSet changes)
Parameters
Type | Name | Description |
---|---|---|
EntityChangeSet | changes |
Dispose()
Declaration
public void Dispose()