com.xmobitea.changx.mini-find-reference
v1.5.4
Published
Find reference assets for Unity.
Readme
XmobiTea FindReference
Unity Editor tool for finding assets that reference a selected asset GUID.
AI Quick Contract
- Main workflow is Editor-only.
- Runtime code only defines
FindReferenceSettings. - Settings asset:
Assets/Resources/XmobiTea FindReferenceSettings.asset. - Main menus:
Assets/Find Reference/FindXmobiTea Tools/Find Reference/Show FindReferenceWindowsXmobiTea Tools/Find Reference/Open Settings
- Search scans files under
Assets. - Search checks raw GUID text, not C# symbols or path strings.
- Search scope is controlled by
includeExtensionsandignorePaths. - No scene setup, prefab setup, startup call, or MCP Unity server entrypoint.
AI Entry Points
| Need | Use |
| --- | --- |
| Use the tool from Unity Editor | AI_USAGE.md |
| Configure settings asset | AI_SETUP.md |
| Exact public symbols and menus | AI_API_REFERENCE.md |
| Exact scan behavior and pitfalls | AI_BEHAVIOR.md |
| Package-level rules | AGENTS.md |
What This Package Provides
| Type | Role |
| --- | --- |
| FindReferenceSettings | ScriptableObject settings for searched extensions and ignored paths |
| FindReferenceSettingsEditor | custom inspector plus settings creation/open menu |
| FindReferenceWindowsEditor | editor window and selected-asset find menu |
Code File Map
| File | Purpose |
| --- | --- |
| Runtime/FindReferenceSettings.cs | declares settings resource key, default extensions, ignore paths |
| Editor/FindReferenceSettingsEditor.cs | draws settings inspector, opens/creates settings asset |
| Editor/FindReferenceWindowsEditor.cs | window UI, selection context menu, GUID scan implementation |
| Runtime/com.xmobitea.changx.mini-find-reference.runtime.asmdef | runtime settings assembly |
| Editor/com.xmobitea.changx.mini-find-reference.editor.asmdef | editor tool assembly |
Minimum Use
- Select an asset in the Project window.
- Run:
Assets/Find Reference/Find- Click a result row to select the referencing asset.
Configure
Open settings:
XmobiTea Tools/Find Reference/Open SettingsDefault scanned extensions:
.prefab
.unity
.asset
.spriteatlas
.mat
.controller
.anim
.metaUse ignorePaths to skip large or irrelevant folders:
Assets/ThirdParty/
Assets/Generated/Package Metadata
- Package name:
com.xmobitea.changx.mini-find-reference - Display name:
XmobiTea Find Reference - Unity:
2022.3+ - License:
Apache-2.0
