OneOf
mcintyre321/OneOf
Use it when: You want F#-style discriminated unions with exhaustive matching in C#.
C# & performanceLast push Sep 2026★ 4,058MIT
Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
Docs and guides
Guides and videos
- Your Players Hate Missed Jump Inputs – Here's Why
Input buffering is one of the highest-impact techniques you can add to make your game feel responsive and forgiving. In this quick Unity 6 tutorial, we build a clean, generic TimedInputBuffer T system
youtube.com · Jul 2026 - A Journey Into Journey’s Sand Shader
Part one of a series recreating Journey's sand rendering.
alanzucconi.com · Oct 2019 - Fast Subsurface Scattering in Unity (Part 1) - Alan Zucconi
Part one of implementing a fast subsurface scattering technique in Unity.
alanzucconi.com · Aug 2017 - CD-ROM Shader: Diffraction Grating – Part 1
Part one of a shader recreating rainbow diffraction reflections seen on CD-ROMs.
alanzucconi.com · Jul 2017 - 3D Printer Shader Effect – Part 1
Part one of replicating the 3D printer build-up shader effect seen in Astroneer.
alanzucconi.com · Oct 2016