/// <summary>
 /// Create an EnableCommandBuffer which can be used to enable entities and play them back later.
 /// </summary>
 /// <param name="allocator">The type of allocator to use for allocating the buffer</param>
 public EnableCommandBuffer(Allocator allocator)
 {
     m_entityOperationCommandBuffer = new EntityOperationCommandBuffer(allocator);
     m_playedBack = new NativeReference <bool>(allocator);
 }
 internal ParallelWriter(EntityOperationCommandBuffer eocb)
 {
     m_entityOperationCommandBuffer = eocb.AsParallelWriter();
 }