Skip to content

Quick Access to Context Menu Methods

Available from

In InspectMe, quick access to methods marked with Unity's [ContextMenu] attribute enhances the workflow by providing two convenient ways to invoke these methods: through buttons in the Value Inspector and via the contextual menu in the tree-view.

Value Inspector Buttons

Methods decorated with the [ContextMenu] attribute appear as clickable buttons in the Value Inspector panel when inspecting a member. This feature enables you to execute these methods directly from the inspector interface, facilitating rapid testing and interaction without navigating away from your current view.

Tree-View Contextual Menu

Regardless of the preferences setting, methods with the [ContextMenu] attribute are also accessible through the tree-view’s contextual menu. This consistent integration ensures you can invoke these methods from different parts of the InspectMe interface, maintaining usability and enhancing your development experience across the tool.

Benefits

  • Efficiency: Streamlines the process of invoking methods by providing immediate access within the inspector and tree-view.
  • Convenience: Offers multiple points of access for method execution, reducing the need to manually enter or search for specific methods.
  • Flexibility: Adapts to various workflow preferences and project requirements, ensuring that methods are easily reachable when needed.

For any queries or support regarding Method Studio feature, please refer to our Support section or visit our FAQ page.