Documentation

Learn how to use Unity NLP Architect to build games with natural language commands.

Getting Started

Unity NLP Architect is a powerful tool that translates your natural language descriptions into Unity game components. This guide will walk you through the installation and basic usage.

Installation

Install the Unity NLP Architect plugin via Unity Package Manager:

1. Open Unity Package Manager (Window > Package Manager)

2. Click "+" and select "Add package from git URL..."

3. Enter: https://github.com/unity-nlp-architect/package.git

Basic Usage

After installation, open the NLP Architect window:

Window > NLP Architect > Open Architect Window

Type your game description in natural language:

// Example input:

"Create a 2D character that can move left and right with arrow keys and jump with space bar. Add gravity and ground detection."

Natural Language Syntax

The system understands a wide range of game development concepts expressed in natural language. Here are some common patterns:

Creating Objects

Examples:

  • "Create a player character"
  • "Add a red enemy that follows the player"
  • "Make a coin pickup with rotation animation"

Movement and Physics

Examples:

  • "Make the player move with WASD keys"
  • "Add jumping with space bar"
  • "Implement gravity for all characters"

Game Mechanics

Examples:

  • "When player touches coin, increase score by 10"
  • "If player health reaches 0, show game over screen"
  • "Create a power-up that doubles jump height for 5 seconds"

Pro Tip

Be as specific as possible in your descriptions. Instead of "make a character move," try "create a 2D character that moves left and right with arrow keys at speed 5."