예제 #1
0
 public void Execute(EntityCommandBuffer buffer)
 {
     buffer.world.ComponentManager.AddSharedComponent(entity, component);
 }
예제 #2
0
 public void Execute(EntityCommandBuffer buffer)
 {
     buffer.world.ComponentManager.RemoveSharedComponent <T>(entity);
 }
예제 #3
0
 public void Execute(EntityCommandBuffer buffer)
 {
     buffer.world.ComponentManager.AddComponent(buffer.entityTarget, component);
 }
예제 #4
0
 public void Execute(EntityCommandBuffer buffer)
 {
     buffer.world.EntityManager.DestroyEntity(entity);
 }
예제 #5
0
 public void Execute(EntityCommandBuffer buffer)
 {
     buffer.entityTarget = buffer.world.Instantiate(prefab);
 }
예제 #6
0
 public void Execute(EntityCommandBuffer buffer)
 {
     buffer.entityTarget = buffer.world.Instantiate(archetype);
 }
예제 #7
0
 public static void PlaybackAfterUpdate(this EntityCommandBuffer buffer)
 {
     buffer.world.RegisterForExecuteAfterUpdate(buffer);
 }