xotrios/unity icon
public
Published on 3/14/2025
Unity

https://docs.unity3d.com/Manual/index.html

Rules
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage voyage-code-3 model icon

voyage-code-3

voyage

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

openai o3-mini model icon

o3-mini

OpenAI

200kinput·100koutput
ollama nomic-embed-text latest model icon

nomic-embed-text latest

ollama

ollama qwen2.5-coder 1.5b model icon

qwen2.5-coder 1.5b

ollama

ollama deepseek-r1 8b model icon

deepseek-r1 8b

ollama

novita deepseek-r1 model icon

deepseek-r1

novita

openai o1 model icon

o1

OpenAI

200kinput·100koutput
Follow C# naming conventions PascalCase for classes/methods/properties, _camelCase for private fields
Use [SerializeField] for inspector variables instead of making them public
Write XML comments (///) for all public methods and classes
Organize code with region tags (Unity Lifecycle, Private Fields, Public Methods, etc.)
Follow SOLID principles Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion
Use UnityEvents for component communication in the inspector
Cache component references in Awake() method
Implement object pooling for frequently instantiated prefabs
Prefer composition over inheritance
Use ScriptableObjects for data-driven design
Keep Update() methods lightweight, move physics to FixedUpdate()
Follow the Component pattern one behavior per script
Never use Find/GetComponent in Update methods
Implement interfaces for systems that may have multiple implementations
Naming Public classes, methods, and fields — CamelCase, private fields — _camelCase, local camelCase
Write Debug logs in the appropriate places
If you are in doubt about doing something, ask before you do it
Unityhttps://docs.unity3d.com/ScriptReference/
UnityApihttps://docs.unity3d.com/Manual/
Charphttps://learn.microsoft.com/en-us/dotnet/csharp/
UnityGithttps://github.com/Unity-Technologies/

Prompts

Learn more

No Prompts configured

Context

Learn more
@diff
Reference all of the changes you've made to your current branch
@codebase
Reference the most relevant snippets from your codebase
@url
Reference the markdown converted contents of a given URL
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@code
Reference specific functions or classes from throughout your project
@file
Reference any file in your current workspace

No Data configured

MCP Servers

Learn more

No MCP Servers configured