This feature is only available in Inspector Gadgets Pro.
By default, Inspector Gadgets hides the Script field at the top of Unity's script Inspector to save space and provides the following extra functions:
Middle Click
in a script’s Inspector to open that script.Ctrl + Middle Click
in a script’s Inspector to open its custom Inspector script (or create a one if it doesn't exist, see Custom Inspectors.Shift + Middle Click
in a script’s Inspector to ping the script asset in the Project window.- This feature can be disabled via the component’s context menu or the Inspector Gadgets tab of the Edit/Preferences menu.
// Example.
class MyScript : MonoBehaviour
{
public int aField;
}
Normal | Inspector Gadgets |
---|---|