Skip to content

Edit Members Values Feature

Available from

Welcome to the Edit Members Values feature of InspectMe, designed to enrich your development workflow by enabling direct modifications to values within the Unity Editor at runtime. This feature integrates seamlessly with the Inspector Values panel, providing advanced editing capabilities and facilitating the use of helpful popups for efficient value manipulation.

Core Functionalities

Dynamic Value Editing

Edit Members Values transforms the static display of the Inspector Values into an interactive editing interface. This allows developers to:

  • Modify Values Directly: Adjust the values of inspected members in real time, directly within the Inspector panel.
  • Trigger Editing Popups: Access specialized popups for more complex types or for asset picking, ensuring appropriate tools and interfaces are available for different data types.

Integrated Quick Actions

To enhance usability and accessibility, this feature also integrates a series of quick actions into both the Tree View toolbar and the contextual menu:

  • Edit Value: Initiate quick editing or asset selection to immediately modify the value of a node.
  • Set Value to Null: Conveniently nullify the selected member's value, clearing references or resetting states as needed.
  • Set Default Value: Restore the member to its initial, predefined state with a single click.
  • Set Random Value: Inject randomness into your testing scenarios by assigning a random value to the selected member.
  • Edit Script: For nodes representing MonoBehaviour components, this action provides a shortcut to open the associated script in the configured IDE, streamlining the debugging and development process.

Enhancing Tree View Interactions

The feature not only operates within the Inspector Values but also extends its functionality to the Tree View:

  • Toolbar Access: Quick access buttons for common actions like resetting or randomizing values are readily available.
  • Contextual Menu Integration: Right-click any member in the Tree View to reveal a context-sensitive menu with editing options tailored to the selected node.

Limitations

While the Edit Members Values feature significantly enhances the flexibility and power of InspectMe, it has certain limitations to be aware of:

  • Collections: Currently, editing capabilities do not extend to modifying individual entries within collections of strings or primitive types.
  • KeyValuePair Editing: KeyValuePair types are not supported for direct editing due to their immutable nature.

Conclusion

The Edit Members Values feature in InspectMe is a transformative tool for Unity developers, simplifying the process of testing, debugging, and refining applications directly within the Unity Editor. By providing intuitive interfaces for value manipulation and integration with existing tools, it ensures that developers can maintain high productivity and precision in their development workflows.


For further assistance, please refer to our Support section or visit our FAQ page.