mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[AvatarScaleMod] Implement actual avatar scaling as test.
fuckin 30 minutes proof of concept
This commit is contained in:
parent
3d8f392f1d
commit
44d5c7762b
3 changed files with 44 additions and 19 deletions
|
@ -8,6 +8,8 @@ public class AvatarScaleMod : MelonMod
|
|||
internal const float MinimumHeight = 0.25f;
|
||||
internal const float MaximumHeight = 2.5f;
|
||||
|
||||
internal static MelonLogger.Instance Logger;
|
||||
|
||||
public static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(nameof(AvatarScaleMod));
|
||||
|
||||
|
@ -22,6 +24,7 @@ public class AvatarScaleMod : MelonMod
|
|||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
Logger = LoggerInstance;
|
||||
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue