mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[MoreMenuOptions] Initial Release
This commit is contained in:
parent
f12fb89fc0
commit
9cfe74276d
7 changed files with 217 additions and 0 deletions
27
MoreMenuOptions/ModSettings.cs
Normal file
27
MoreMenuOptions/ModSettings.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
using MelonLoader;
|
||||
|
||||
namespace NAK.MoreMenuOptions;
|
||||
|
||||
public static class ModSettings
|
||||
{
|
||||
private const string SettingsCategory = nameof(MoreMenuOptions);
|
||||
|
||||
private static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(SettingsCategory);
|
||||
|
||||
// main menu options
|
||||
|
||||
internal static readonly MelonPreferences_Entry<MoreMenuOptions.MainMenuModifierUsage> EntryMainMenuModiferUsage =
|
||||
Category.CreateEntry("Main Menu Modifier Usage", MoreMenuOptions.MainMenuModifierUsage.Both, description: "The usage of the main menu modifier.");
|
||||
|
||||
internal static readonly MelonPreferences_Entry<float> EntryMMScaleModifier =
|
||||
Category.CreateEntry("Main Menu Scale Modifier", 0.75f, description: "The scale of the main menu.");
|
||||
|
||||
internal static readonly MelonPreferences_Entry<float> EntryMMDistanceModifier =
|
||||
Category.CreateEntry("Main Menu Distance Modifier", 0.1f, description: "The distance of the main menu from the camera.");
|
||||
|
||||
// quick menu options
|
||||
|
||||
internal static readonly MelonPreferences_Entry<bool> EntryQMWorldAnchorInVR =
|
||||
Category.CreateEntry("Quick Menu World Anchor In VR", false, description: "Toggle the quick menu world anchor in VR.");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue