public void Execute(EntityCommandBuffer buffer) { buffer.world.ComponentManager.AddSharedComponent(entity, component); }
public void Execute(EntityCommandBuffer buffer) { buffer.world.ComponentManager.RemoveSharedComponent <T>(entity); }
public void Execute(EntityCommandBuffer buffer) { buffer.world.ComponentManager.AddComponent(buffer.entityTarget, component); }
public void Execute(EntityCommandBuffer buffer) { buffer.world.EntityManager.DestroyEntity(entity); }
public void Execute(EntityCommandBuffer buffer) { buffer.entityTarget = buffer.world.Instantiate(prefab); }
public void Execute(EntityCommandBuffer buffer) { buffer.entityTarget = buffer.world.Instantiate(archetype); }
public static void PlaybackAfterUpdate(this EntityCommandBuffer buffer) { buffer.world.RegisterForExecuteAfterUpdate(buffer); }