mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[AlternateIKSystem] Add HalfBody Configuration page
This commit is contained in:
parent
074a408b01
commit
3f4de3ed7f
1 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,8 @@ namespace NAK.AlternateIKSystem.Integrations;
|
||||||
|
|
||||||
public static class BTKUIAddon
|
public static class BTKUIAddon
|
||||||
{
|
{
|
||||||
|
#region Initialization
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||||
public static void Initialize()
|
public static void Initialize()
|
||||||
{
|
{
|
||||||
|
@ -17,9 +19,13 @@ public static class BTKUIAddon
|
||||||
|
|
||||||
SetupGeneralIKConfigurationPage(ref miscCategory);
|
SetupGeneralIKConfigurationPage(ref miscCategory);
|
||||||
SetupDesktopIKConfigurationPage(ref miscCategory);
|
SetupDesktopIKConfigurationPage(ref miscCategory);
|
||||||
//SetupHalfBodyIKConfigurationPage(ref miscCategory);
|
SetupHalfBodyIKConfigurationPage(ref miscCategory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Pages Setup
|
||||||
|
|
||||||
private static void SetupGeneralIKConfigurationPage(ref Category parentCategory)
|
private static void SetupGeneralIKConfigurationPage(ref Category parentCategory)
|
||||||
{
|
{
|
||||||
Page generalIKPage = parentCategory.AddPage("General IK Settings", "", "Configure the settings for general IK.", ModSettings.SettingsCategory);
|
Page generalIKPage = parentCategory.AddPage("General IK Settings", "", "Configure the settings for general IK.", ModSettings.SettingsCategory);
|
||||||
|
@ -63,9 +69,11 @@ public static class BTKUIAddon
|
||||||
{
|
{
|
||||||
Page halfBodyIKPage = parentCategory.AddPage("HalfBody IK Settings", "", "Configure the settings for halfbody IK.", ModSettings.SettingsCategory);
|
Page halfBodyIKPage = parentCategory.AddPage("HalfBody IK Settings", "", "Configure the settings for halfbody IK.", ModSettings.SettingsCategory);
|
||||||
halfBodyIKPage.MenuTitle = "HalfBody IK Settings";
|
halfBodyIKPage.MenuTitle = "HalfBody IK Settings";
|
||||||
Category halfBodyIKCategory = halfBodyIKPage.AddCategory(halfBodyIKPage.MenuTitle);
|
//Category halfBodyIKCategory = halfBodyIKPage.AddCategory(halfBodyIKPage.MenuTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region Melon Pref Helpers
|
#region Melon Pref Helpers
|
||||||
|
|
||||||
private static void AddMelonToggle(ref Category category, MelonLoader.MelonPreferences_Entry<bool> entry)
|
private static void AddMelonToggle(ref Category category, MelonLoader.MelonPreferences_Entry<bool> entry)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue