Add XUAIGNORETREE by ManlyMarco · Pull Request #772 · bbepis/XUnity.AutoTranslator
Pull Request Overview
This PR adds support for a new "XUAIGNORETREE" tag that allows ignoring components in entire GameObject hierarchies. The feature extends the existing "XUAIGNORE" functionality by checking parent transforms up the hierarchy for the new tag.
- Adds "XUAIGNORETREE" constant and hierarchy traversal logic
- Refactors the
ShouldIgnoreTextComponentmethod to check parent transforms - Removes the
HasIgnoredNamehelper method as it's no longer needed - Updates documentation to explain the new functionality
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ComponentExtensions.cs | Implements XUAIGNORETREE functionality with hierarchy traversal and removes obsolete helper method |
| README.md | Documents the new XUAIGNORETREE feature and its behavior |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.