Skip to content

Instantly share code, notes, and snippets.

View wallstop's full-sized avatar
🎯
Focusing

Eli Pinkerton wallstop

🎯
Focusing
View GitHub Profile
@wallstop
wallstop / GridOffset.cs
Created June 13, 2025 16:12
Hex - GridOffset
namespace Core.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using DataStructure.Adapters;
using UnityEngine;
public sealed class GridOffset
{
@wallstop
wallstop / KTile.cs
Created June 13, 2025 16:10
Hex - KTile
namespace World.Tiles
{
using Core.Extension;
using Metadata;
using UnityEngine;
using UnityEngine.Tilemaps;
public enum TileType
{
Nothing = 0,
@wallstop
wallstop / ITile.cs
Created June 13, 2025 16:09
Hex - ITile
namespace World.Tiles
{
using Metadata;
public interface ITilemapTile
{
public TilemapType TilemapType { get; }
}
}
@wallstop
wallstop / IGridManager.cs
Created June 13, 2025 16:08
Hex - IGridManager
namespace World
{
using System.Collections.Generic;
using Core.DataStructure.Adapters;
using Core.Helper;
using Metadata;
using Tiles;
using Unity.Collections;
using UnityEngine;
using UnityEngine.Tilemaps;
@wallstop
wallstop / GridManager.cs
Created June 13, 2025 16:07
Hex - GridManager
namespace Gameplay.World
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using Core.DataStructure;
using Core.DataStructure.Adapters;
using Core.Extension;
using Core.Helper;
@wallstop
wallstop / .editorconfig
Created April 2, 2025 00:33
IshoBoy editorconfig
[*]
charset = utf-8-bom
end_of_line = crlf
trim_trailing_whitespace = false
insert_final_newline = false
indent_style = space
indent_size = 4
# Microsoft .NET properties
private struct Job : IJobParallelFor
{
[NativeDisableParallelForRestriction]
private NativeArray<float3> _vertices;
[ReadOnly]
private NativeArray<CharData> _data;
private readonly NativeCurve _curve;
private readonly TransformType _type;
private readonly float3 _intensity;
@wallstop
wallstop / BenchmarkForLoops.cs
Last active March 29, 2025 22:29
BenchmarkForLoops.cs
namespace Benchmarks;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
public sealed class Program
{
public static void Main(string[] args)
namespace Editor.Networking
{
using System.Collections.Generic;
using Core.Helper;
using global::Networking;
using Unity.Netcode;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(CollectAllNetworkPrefabs))]
@wallstop
wallstop / QuadTree.cs
Created March 15, 2022 01:57
QuadTree
namespace Core.DataStructure
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Extension;
using UnityEngine;
public sealed class QuadTree<T>