Hide Mono Script Attribute

Apply HideMonoScript to your class to prevent the Script property from being shown in the inspector.

[InfoBox("Click the pencil icon to open new inspector for these fields.")]
public HideMonoScript Hidden = ExampleHelper.GetScriptableObject<HideMonoScript>();

// The script will also be hidden for the ShowMonoScript object if MonoScripts are hidden globally.
public ShowMonoScript Shown = ExampleHelper.GetScriptableObject<ShowMonoScript>();

[HideMonoScript]
public class HideMonoScript : ScriptableObject
{
    public string Value;
}

public class ShowMonoScript : ScriptableObject
{
    public string Value;
}