[ConfigHideInspectorEditor]

Attribute controls whether the default inspector for a configuration asset should be hidden in favor of the dedicated configuration editor window helper message.

Parameters

Parameter
Type
Description

hideInspectorEditor

bool

When true, hides the default inspector and shows a message to double-click the asset to open the configuration editor window.

Examples

using RenownedGames.Apex;
using UnityEngine;

[ConfigHideInspectorEditor]
[ConfigWindow("Game Settings")]
public class GameSettings : ScriptableObject
{
    public float masterVolume;
    public float musicVolume;
}

Last updated