Repository URL to install this package:
|
Version:
1.3.1 ▾
|
using UnityEditor;
using UnityEditor.SettingsManagement;
using static Fluctio.FluctioSim.EditorUtils.SettingsManagement.SettingsManager;
namespace Fluctio.FluctioSim.EditorCore.EditorGeneral
{
public static class GeneralSettings
{
[InitializeOnLoadMethod]
private static void InitSettings() => AddExecutingAssembly();
[UserSetting("General", "Show Internals On New Components")]
private static readonly UserSetting<bool> DefaultShowInternalsSetting = Preference("GeneralSettings.DefaultShowInternals", false);
public static bool DefaultShowInternals => DefaultShowInternalsSetting.value;
[UserSetting("General", "Add Icons For New GameObjects")]
private static readonly UserSetting<bool> AddGameObjectIconsSetting = Preference("GeneralSettings.AddGameObjectIcons", false);
public static bool AddGameObjectIcons => AddGameObjectIconsSetting.value;
}
}