HomeFrameworksUnity Game Dev Framework
ProFeaturedv2.1L5 Semantic FrameworkUpdated July 2026

Unity Game Dev Framework

AI-accelerated Unity game architecture from concept to build

4.9(203 reviews)3.1K installs52 prompts7 stagesGame Dev
GPT-4ClaudeCursor

Unity Game Dev Framework encodes senior Unity engineer patterns into prompt sequences that generate production-quality C# game architecture. From GameManager singleton to enemy behavior trees, every prompt produces clean, maintainable code that follows Unity best practices. Used by 3,100+ indie developers and studio teams.

Full Access Unlocked

All 52 prompts · All 6 modules

30-day money-back guarantee
Secure checkout via Stripe
Lifetime updates (currently v2.1)
Instant delivery after purchase

"Shipped my first Steam game using this framework. The architecture prompts saved me from the spaghet..."

Carlos M. · Indie Developer

Need expert implementation?

Hire an Orchestrator

Connect with a certified Prompt.Doctor Orchestrator to deploy this framework for you.

How to use this framework

You will use ChatGPT or Claude to generate code and architecture, then paste it directly into your game engine (Unity or Unreal). No web development required — this is a game engine workflow.

1

Purchase & download the framework

Click the buy button on this page. After checkout, go to the and hit Download .zip. Unzip it — you'll get a .md file (all prompts) and a .pdf (easy reading reference). Keep both open alongside your game engine.

2

Write your Game Design Document (GDD) first

Every prompt uses your GDD as its source of truth. Before running any prompt, have these ready: game genre, player perspective (2D/3D, top-down/FPS/etc.), core mechanics, and target platform. Write them in a notes doc — you'll paste them into every [BRACKET] placeholder throughout the framework.

3

Open ChatGPT or Claude alongside your game engine

Go to chat.openai.com (GPT-4) or claude.ai — both work well for code generation. Open your game engine (Unity Editor) in a separate window. You'll run prompts in the AI chat and paste the generated code directly into your project. If you use Cursor, paste prompts directly into the editor's AI panel for even faster iteration.

4

Stage 1Game Architecture (managers, events, services)

Go to the and filter to Game Architecture (managers, events, services). Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your Unity project's core scripts folder. Run each prompt in this stage before moving to the next.

Input needed:GDD
5

Stage 2State Machine + Controller

Go to the and filter to State Machine + Controller. Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your Assets/Scripts/Player directory. Run each prompt in this stage before moving to the next.

Input needed:Player Spec
6

Stage 3AI Behavior Trees

Go to the and filter to AI Behavior Trees. Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your Assets/Scripts/AI directory. Run each prompt in this stage before moving to the next.

Input needed:Enemy Design
7

Stage 4UI System

Go to the and filter to UI System. Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your Assets/Scripts/UI directory. Run each prompt in this stage before moving to the next.

Input needed:UI Wireframes
8

Stage 5Save/Load Architecture

Go to the and filter to Save/Load Architecture. Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your Unity project's core scripts folder. Run each prompt in this stage before moving to the next.

Input needed:Progression Design
9

Stage 6Shader Graph Effects

Go to the and filter to Shader Graph Effects. Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your Assets/Shaders directory. Run each prompt in this stage before moving to the next.

Input needed:Visual Direction
10

Stage 7Performance Profiling Prompts

Go to the and filter to Performance Profiling Prompts. Copy the first prompt, paste it into GPT-4 or Claude, and replace every [BRACKET] with your game's specifics. The AI will generate production-ready code — copy it and paste it into your project settings and build configuration. Run each prompt in this stage before moving to the next.

Input needed:QA
11

Test, iterate, and ship

With all stages complete, you have a full Unity project architecture. Playtest each system — state machines, AI, UI, and save/load. Use the to iterate: if a system isn't behaving right, re-run its prompt with more specific details. When your build is stable, use the to scaffold a companion web app (analytics dashboard, player portal, or game backend) in an AI website builder.

Who is this for?

Indie game developers building their first commercial title
Game jam participants who need to ship fast
Unity developers wanting to level up their architecture
Studio teams onboarding junior developers

Everything you get

52 production-ready prompts across 7 workflow stages
Game architecture system (GameManager, SceneManager, EventSystem)
Hierarchical state machine generator (player, enemy, game states)
Player controller system (movement, physics, input)
Enemy AI behavior trees (patrol, chase, attack, flee)
UI system prompts (health bars, inventory, dialogue)
Save/load architecture (PlayerPrefs + JSON serialization)
Shader Graph visual effect prompts
Lifetime updates — currently on v2.1

What's Inside

6 modules · 52 prompts · 7 workflow stages

Modules(6 total)

Game Architecture System

Generate the core game architecture: GameManager singleton, SceneLoader, EventBus, ServiceLocator, and ObjectPooling system.

9 prompts

State Machine Generator

Hierarchical state machines for player (idle, walk, run, jump, attack, die), enemy, and game states. Clean, extensible C# with interface-based design.

8 prompts

Player Controller System

Character controller prompts for 2D platformer, top-down, first-person, and third-person perspectives. Physics-based movement with coyote time and jump buffering.

10 prompts

Enemy AI System

Behavior tree implementation for enemy AI: patrol waypoints, field-of-view detection, chase logic, attack patterns, and flee behavior.

9 prompts

UI & Polish System

Unity UI Toolkit and uGUI prompts for health bars, inventory systems, dialogue trees, pause menus, and screen transitions.

8 prompts

Save & Persistence Layer

Save/load architecture using JSON serialization, PlayerPrefs for settings, and cloud save integration patterns.

8 prompts
Sample Prompts(52 total)
GameManager Singleton·Claude

Generate a Unity C# GameManager singleton that manages game state for a [GENRE] game. Include: Singleton pattern with DontDestroyOnLoad, GameState enum (MainMenu, Playing, Paused, GameOver, Victory), state transition methods with validation, UnityEvent callbacks for state changes, and a static Instance property with null check. The GameManager should not directly reference scene-specific objects — use events instead. Add XML documentation comments.

Enemy Behavior Tree·GPT-4

Generate a Unity C# enemy AI behavior tree for a [ENEMY TYPE] in a [GENRE] game. States: Idle (wait at spawn), Patrol (move between waypoints), Alert (heard/saw something), Chase (target in range), Attack (in attack range), Flee (health below threshold). Include: NavMeshAgent integration, field-of-view detection using Physics.OverlapSphere, line-of-sight raycast, and smooth rotation toward target. Use a coroutine-based state machine pattern.

Save System·Claude

Generate a Unity C# save system for a [GENRE] game. Requirements: JSON serialization using JsonUtility, multiple save slots (3), auto-save on scene transition, save data includes: [LIST WHAT TO SAVE]. Include: SaveData class with [Serializable], SaveManager with Save(int slot), Load(int slot), Delete(int slot), and HasSave(int slot) methods, file path management using Application.persistentDataPath, and error handling for corrupted saves.

Workflow Architecture(7 stages)

system

17 prompts

Stage 1

architecture

8 prompts

Stage 2

prompts

10 prompts

Stage 3

workflow

9 prompts

Stage 4

templates

8 prompts

Stage 5

Everything included

Game architecture prompts
State machine generator
Player controller system
Enemy AI behavior trees
UI/UX system prompts
Save/load architecture
Shader Graph prompts
Full Access Unlocked

What builders say

"Shipped my first Steam game using this framework. The architecture prompts saved me from the spaghetti code I wrote on my last project."

CM

Carlos M.

Indie Developer

"Won Ludum Dare 56 using the state machine generator. Generated a working player controller in 15 minutes."

PS

Priya S.

Game Jam Veteran

You have full access

All 52 prompts across 6 modules are unlocked for your account.

$229$349

Lifetime access