コード例 #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);
 }