Copy as Text: Hierarchy & Inspector

Copy as Text: Hierarchy & Inspector is an essential developer utility that allows you to instantly copy GameObject hierarchies and detailed Inspector properties to formatted text. This tool is perfect for debugging, documentation, comparing objects, or feeding data to AI. It provides a flexible and convenient way to get the text representation you need, copied directly to your clipboard.

Example:

Entire Hierarchy: (Scene)

Main Camera

Directional Light

Environment

Cube (inactive)

Sphere

Player

Character

With this tool, you can:

  • Copy the entire structure of children starting from the selected GameObject(s)
  • Copy only the names of the GameObjects currently selected, preserving their relative hierarchical structure through indentation
  • Copy the complete hierarchy of the currently active scene or prefab stage
  • Customize indentation style, include/exclude inactive objects, limit recursion depth, and add familiar foldout markers for clarity

You can also copy Inspector property data in two powerful modes:

  • Detailed (Reflection): Dives deeper using code reflection to copy all accessible fields and properties
  • Visible (Serialized): Mimics the Inspector view, copying properties that Unity serializes and typically displays

The tool also provides an intuitive Editor Window and lightning-fast context menus for seamless workflow.

Why use Copy as Text?

  • Massive time saver: Eliminates tedious manual data entry
  • Improve debugging: Quickly grab object structures or component states for analysis
  • Streamline documentation: Easily paste hierarchies or settings into your notes or wikis
  • Enhance collaboration: Share precise object configurations with team members
  • Power external tools: Provide structured text input for AI, scripts, or comparison tools
  • Clean & efficient: Editor-only script with zero runtime overhead, works across all render pipelines (Built-in, URP, HDRP)

Key Functionality:

  • Hierarchy Copying:
  • Full Tree Below: Copy the entire structure of children starting from the selected GameObject(s)
  • Selected Only: Copy only the names of the GameObjects currently selected, preserving their relative hierarchical structure through indentation
  • Entire Scene/Prefab: Copy the complete hierarchy of the currently active scene or prefab stage
  • Customization: Control indentation style, include/exclude inactive objects, limit recursion depth, and optionally add familiar foldout markers for clarity
  • Inspector Property Copying:
  • Detailed (Reflection): Dives deeper using code reflection to copy all accessible fields and properties
  • Visible (Serialized): Mimics the Inspector view, copying properties that Unity serializes and typically displays
  • Flexibility: Choose whether to include the often verbose Transform component, and optionally group fields and properties separately in Detailed mode for better organization
  • Seamless Workflow:
  • Intuitive Editor Window: Access all options through a clear, tabbed interface (Tools > Pozytrum > Hierarchy & Inspector Exporter). Settings are saved for your convenience.
  • Lightning-Fast Context Menus: Right-click directly on GameObjects in the Hierarchy or on Component headers in the Inspector to perform common copy operations instantly, using your last saved settings from the window

Copy as Text: Hierarchy & Inspector - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Inspector Graph Pro: Professional Asset Visualization for Unity

Inspector Graph Pro: Professional Asset Visualization for Unity Thumbnail

In-Game Text Editor for Unity

In-Game Text Editor for Unity Thumbnail

Inspector Attributes for Unity

Inspector Attributes for Unity Thumbnail

Inspector Compare: Component Differences

Inspector Compare: Component Differences Thumbnail

Effortless Scene Search with Hierarchy Finder

Effortless Scene Search with Hierarchy Finder Thumbnail

Animated Text Effects for Unity

Animated Text Effects for Unity Thumbnail