feat: add sensors

This commit is contained in:
Bragin Stepan
2026-02-20 00:18:03 +05:00
parent 1a067a3563
commit 6e04b47ac2
17 changed files with 356 additions and 2 deletions

View 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;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 29473d664e014a86b3257246837569ce
timeCreated: 1771526615

View File

@@ -0,0 +1,13 @@
using UnityEngine;
namespace _Project.Develop.Runtime.Utilities
{
public static class Layers
{
public static readonly int Characters = LayerMask.NameToLayer("Characters");
public static readonly LayerMask CharactersMask = 1 << Characters;
public static readonly int Environment = LayerMask.NameToLayer("Environment");
public static readonly LayerMask EnvironmentMask = 1 << Environment;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 49a6848819fd4acb8663089ef8f00659
timeCreated: 1771526630