Skip to content

SinlessDevil/UnityGridLevelEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Grid Level Editor 🧩

A powerful, fully customized level editor made in Unity using Odin Inspector. Built to quickly prototype and manage grid-based levels both in the editor and at runtime.

✨ Features

🧱 Block Library

  • Create and manage block types via a dedicated editor window.
  • Set block ID, icon, and prefab.
  • Sort and filter blocks easily.

BlockLibrary

🧭 Level Editor

  • Visual grid-based editor using Odin's TableMatrix.
  • Support for both rectangular and hexagonal grids.
  • Selection via Ctrl + LMB drag.
  • Context popup with block selection, rotation, clear, copy and paste.
  • Persistent saving as ScriptableObjects.

LevelEditor Popup

🎮 Runtime Preview

  • Spawn blocks and tiles in the scene.
  • Auto-animation with DOTween.
  • Level switching, auto-transition every 5 seconds.

🎥 GIF Showcase

Block Library Level Editor Popup Menu

🔧 Technologies Used

  • Unity 2022+
  • Odin Inspector
  • DOTween

📂 Project Structure

Assets/
├── Code/
│   ├── Infrastructure/ (Runtime Generator, Factories)
│   ├── LevelEditor/ (Editor logic and windows)
│   ├── StaticData/ (ScriptableObject blocks/levels)
├── Resources/
│   └── StaticData/
│       ├── LevelsData/
│       └── BlockLibrary.asset