System.Object InspectorObject { get; set; }

robot_2Generated
code_blocksInput

Description

The InspectorObject property of the Editor.EditorUtility class is used to set the object that will be inspected by the inspector. This property is static, meaning it can be accessed without instantiating the EditorUtility class.

Usage

To use the InspectorObject property, simply assign an object to it. This object will then be displayed in the inspector for examination and modification.

Example

// Example of setting an object to be inspected
Editor.EditorUtility.InspectorObject = myObject;