mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-05 07:41:10 +00:00
feat: add sensors
This commit is contained in:
14
Assets/_Project/Develop/Runtime/Utilities/Buffer.cs
Normal file
14
Assets/_Project/Develop/Runtime/Utilities/Buffer.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace _Project.Develop.Runtime.Utilities
|
||||
{
|
||||
public class Buffer<T>
|
||||
{
|
||||
public T[] Items;
|
||||
public int Count;
|
||||
|
||||
public Buffer(int initialSize)
|
||||
{
|
||||
Items = new T[initialSize];
|
||||
Count = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user