mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-01 19:22:55 +08:00
21 lines
445 B
C#
21 lines
445 B
C#
|
#region
|
|||
|
|
|||
|
using HarmonyLib;
|
|||
|
using UnityEditor;
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
namespace nadena.dev.modular_avatar.core.editor.HarmonyPatches
|
|||
|
{
|
|||
|
internal class PatchLoader
|
|||
|
{
|
|||
|
[InitializeOnLoadMethod]
|
|||
|
static void ApplyPatches()
|
|||
|
{
|
|||
|
var harmony = new Harmony("nadena.dev.modular_avatar");
|
|||
|
|
|||
|
SnoopHeaderRendering.Patch(harmony);
|
|||
|
HideScaleAdjusterFromPrefabOverrideView.Patch(harmony);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|