Make your Unity project readable to AI: export scene/prefab hierarchies, folder trees, and key files into a clean Markdown context.AI can write great code — but it’s blind to your Unity Editor.It can’t inspect what’s inside your Scenes, Prefabs, and Project window unless you turn that information into plain text. That usually means messy screenshots, incomplete descriptions, or inconsistent “context dumps”.REUN Context gives you a clean, repeatable way to export exactly what you want the AI (or teammates) to see into one structured Markdown file (AGENTS.md, CLAUDE.md, or any custom name). Curate it once, regenerate it anytime.What it generatesA single context-rich Markdown file that can include:✅ Scene / Prefab Hierarchy (readable tree)Export a GameObject hierarchy with components — plus powerful filtering:include/exclude by object nameinclude/exclude custom component typesinclude/exclude Unity component type namesoptionally include inactive objects, disabled components, and objects without components✅ Folder Structure (project tree)Generate a clean directory tree with:include/exclude by asset/folder selectioninclude/exclude via wildcard patterns (e.g., *.cs, *.shader, exclude *.meta, etc.)✅ File Content (actual source)Embed selected files as formatted Markdown code blocks.✅ PathsInsert stable asset paths where needed.Designed for real workflows (not one-off exports)Topics-based structure: keep your instructions readable and organizedReferences + placeholders: inject exports exactly where they belong ({0}, {1}, {2}, …)Preview & quick regeneration in the Context Editor (Window → Context → Editor)Batch maintenance: Update All contexts across the projectOutput presets for files/folders + flexible save locationOptional Front Matter (YAML or any header block you prefer)Privacy & scopeEditor-only tool. No runtime systems. Nothing is uploaded — it simply generates local Markdown files that you control.Requirements:Unity Version: 2021.3 LTS or higher (Compatible with Unity 6).Dependencies: None. Works out of the box.Package Contents:Full Source Code: 100% C# source code included. No DLLs.Clean Architecture: Organized scripts in Assets/REUN/Context.Zero Runtime Overhead: All logic is Editor-only (#if UNITY_EDITOR). The runtime footprint is limited to a small ScriptableObject data container (which can be excluded from builds if not referenced).Key Scripts:Context.cs: The core ScriptableObject that stores your configuration.ContextEditorWindow.cs: The main dashboard for managing and previewing contexts.ContextTextFormatter.cs: Handles file parsing and Markdown generation.Compatibility:Works on Windows, Mac, and Linux editors.Supports both Light and Dark editor skins.Compatible with any version control system (Git, PlasticSCM, etc.).OpenAI Codex was used to suggest implementation ideas and generate small code snippets, which I manually reviewed and integrated. Greptile was used for repository-level code review to highlight potential issues, suggest refactorings, and help keep the codebase consistent. All AI-generated suggestions were curated and adjusted by me before inclusion.

