From a039eacd5c20a7d97af703d05ab53c44dd52fab4 Mon Sep 17 00:00:00 2001 From: andreakarasho Date: Fri, 9 Dec 2022 20:19:17 +0100 Subject: [PATCH] + fix ctor accessibility (#28) --- Arch/Core/CommandBuffer/CreationBuffer.cs | 2 +- Arch/Core/CommandBuffer/ModificationBuffer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Arch/Core/CommandBuffer/CreationBuffer.cs b/Arch/Core/CommandBuffer/CreationBuffer.cs index 8e97fbdc..64d85f72 100644 --- a/Arch/Core/CommandBuffer/CreationBuffer.cs +++ b/Arch/Core/CommandBuffer/CreationBuffer.cs @@ -153,7 +153,7 @@ public struct CreationBuffer /// /// The world this playbacks to. /// The initial capacity, grows once it was reached. - internal CreationBuffer(World world, int initialCapacity = 64) + public CreationBuffer(World world, int initialCapacity = 64) { World = world; InitialCapacity = initialCapacity; diff --git a/Arch/Core/CommandBuffer/ModificationBuffer.cs b/Arch/Core/CommandBuffer/ModificationBuffer.cs index d21578c1..17beb399 100644 --- a/Arch/Core/CommandBuffer/ModificationBuffer.cs +++ b/Arch/Core/CommandBuffer/ModificationBuffer.cs @@ -320,7 +320,7 @@ public struct ModificationBuffer : IDisposable /// /// The world this buffer playbacks to. /// The initial capcity, grows once it was reached. - internal ModificationBuffer(World world, int capacity = 64) + public ModificationBuffer(World world, int capacity = 64) { World = world; _sparseSet = new SparseSet(capacity);