Procedural Puzzle 2D/3D Generation with Custom Matrix Sizes

Procedural Puzzle 2D/3D — Customizable Grid Logic System

Create customizable 2D (UI) and 3D (world-space) grid-based puzzles using a simple toggle mechanic. Ideal for hacking mini-games, brain teasers, or sci-fi puzzle systems. Fully compatible with Unity 6.


Features:

  • Supports both 2D (Canvas UI) and 3D (world space) puzzles
  • Fully customizable grid sizes via ScriptableObject
  • Logical toggle behavior: affects cell + 4 neighbors (cross pattern)
  • Modular code with separated logic for 2D/3D cells
  • Built-in move counter with completion detection
  • Clean and extensible architecture (OOP)
  • Demo scenes: 3×3, 5×5, 6×4 puzzle examples in 2D and 3D
  • 3D player controller for scene interaction

Package Includes:

  • 2D and 3D puzzle prefabs
  • 1 stylized 3D puzzle model with 4 materials
  • Complete demo scene
  • Modular C# code
  • Font: Autowide Regular (SIL OFL)

Full documentation included inside the asset

Suitable for: mini-games, sci-fi mechanics, educational logic systems, hacking sequences, puzzle-based gameplay
Tested with Unity 6 (URP & Built-in RP)