Workflow

Recipes

Copy-paste prompts for real Unity development tasks. Paste into the chat window as-is, or tailor to your project.

Summary
Copy-paste these prompts to see Adjoint in action. Each covers a real Unity development task from prototype to polish.

Recipe 1: Complete Player Controller

Create a 3D player controller for a third-person game.
Requirements:
- WASD movement with sprint (left shift)
- Space to jump
- Mouse look for camera with Y-axis clamp
- Ground detection via raycast
- Smooth acceleration and deceleration
- Expose speeds and jump force in Inspector

Recipe 2: Health System

Create a complete health system:
- Health component with MaxHealth and CurrentHealth
- TakeDamage and Heal methods
- OnDeath and OnHealthChanged events
- A simple HUD showing a red health bar using uGUI
- Connect the HUD to the Player's Health component

Recipe 3: Inventory System

Create an inventory system with:
- ScriptableObject for Item definitions (name, icon, description, stackable)
- Inventory component with 20 slots
- UI grid layout showing all slots using UI Toolkit
- Drag and drop between slots
- Add at least 3 sample items (Sword, Potion, Key)

Recipe 4: 2D Platformer Prototype

Build a complete 2D platformer prototype:
- Generate a tilemap level with 5 platforms, gaps, and a goal
- 2D player with Rigidbody2D and BoxCollider2D
- Movement script with WASD and space to jump
- Coyote time and jump buffering for feel
- Simple coin pickup system with a counter HUD
- Play Music when the game starts (use placeholder audio)

Recipe 5: Character Creation

Generate a rigged humanoid female warrior in stylized fantasy armor.
Set up her Humanoid Avatar. Add an Animator with Idle, Walk, Run, and Attack
states that blend based on speed. Place her in the center of the scene.

Recipe 6: Environment Audio

Create an audio manager that plays:
- Heroic orchestral music loop (60 seconds, use placeholder)
- Forest ambient sound in the background
- Footstep sounds when the player is moving
Generate all three audio clips with Adjoint.

Recipe 7: Save System

Add a save system that:
- Saves player position, health, and inventory to JSON
- Saves on quit and every 60 seconds
- Loads automatically on game start
- Has a Save and Load button in a debug UI

Recipe 8: Enemy AI

Create a simple enemy AI with:
- NavMeshAgent for pathing
- States: Idle, Patrol, Chase, Attack
- Attacks the player when within 2 meters
- Returns to patrol after losing line of sight
- Include a simple health bar floating above the enemy

Recipe 9: Particle Effects

Add these particle effects to the game:
- Fire on every torch in the scene
- Magic sparkle on every collectible
- Dust cloud at the player's feet when running
- Explosion prefab that can be instantiated on demand

Recipe 10: Performance Audit

Profile the current scene and tell me:
- The top 5 performance hotpaths
- Any GC allocations per frame I should worry about
- Suggestions for optimization with code examples

For the underlying capabilities these recipes draw on, see Code Generation, Scenes and GameObjects, 3D Generation, Audio Generation, and UI Creation.