Skip to content

Method Properties Popup

Available from

Discover the intricacies of methods within your Unity projects using the Method Properties Popup in InspectMe. This comprehensive tool provides detailed insights into MethodInfo instances, enhancing your understanding and control over method behavior and attributes.

Key Features of Method Properties Popup

The Method Properties Popup is designed to offer a detailed exploration of methods. Here’s what you can expect:

Method Properties
  • Signature Display: View the complete method signature with syntax highlighting, offering a clear depiction of method structure.
  • Method Overview: Provides essential information including the method's name, the class it belongs to, its return type, and namespace.
  • Method Characteristics: Delve into the method's specific attributes such as:
    • Constructor status, static, abstract, virtual, final, generic, extension, asynchronous, coroutine, iterator, lambda, delegate, extern, override, special name, PInvoke implementation, and security restrictions.
  • CustomAttributes: Inspect custom attributes applied to the method, enhancing your understanding of its context and special configurations.
  • Parameters: Offers a detailed look at each parameter used by the method, helping you understand expected input types and behaviors.
  • Local Variables: Explore variables defined within the method scope.
  • Exception Handling Clauses: Analyze how the method handles exceptions, providing insights into its robustness and error management.
  • Inheritance Chain: Trace the inheritance path of the method, understanding its position and role within the class hierarchy.

Integration with Method Scope

The popup features an Open in Scope button prominently displayed at the top right if the method instance is associated with an active object and can be invoked:

  • Conditionally Available: This button appears only if the method has a referenceable instance, typically when accessed from within the Method Studio. If the target object is destroyed, becomes null, or the popup is accessed externally (such as from documentation or static analysis), the button will not be displayed.

Preferences Customization

Custom Properties
Customize what you see in the Method Properties Popup through the Preferences Panel under Methods Studio > Properties. Tailor the popup to display only the information you need, ensuring a streamlined and relevant user experience.

Conclusion

The Method Properties Popup is an essential tool within InspectMe, providing detailed visibility into the methods of your Unity projects. By offering a deep dive into method details, InspectMe empowers developers to optimize, debug, and understand their code more effectively, all within a user-friendly and customizable interface.


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