Code Buddy is a Unity package that integrates LLM-based code generation directly into the Unity Editor. Its primary goal is to accelerate prototyping and development by leveraging your project's existing context. With Code Buddy, you can generate context-aware C# scripts, shaders, or UI documents that integrate with your existing code, modify, refactor, or get explanations for existing code segments, discuss code structure, brainstorm approaches, or plan architecture via chat, and work entirely offline using local models via Ollama.
Features:
- Generating new scripts
- Modifying existing code
- Refactoring
- Bugfixing
- Chat and brainstorm
- Offline mode with Ollama
- Proxy support
Supported Unity versions:
- 2021.3
- 2022.3
- 6000
Note: It most likely works with any version in between, we just didn't test them all.
Code Buddy: Project-Aware Code Generation for Unity - Asset Store





