Files
EndlessHostRoles/Patches/GuardAngelPatch.cs
T

18 lines
550 B
C#

using HarmonyLib;
namespace EHR;
internal class GuardAngelPatch
{
[HarmonyPatch(typeof(MeetingIntroAnimation), nameof(MeetingIntroAnimation.Start))]
public static class ProtectedRecentlyPatch
{
public static bool Prefix(MeetingIntroAnimation __instance)
{
__instance.ProtectedRecently.active = false;
__instance.ProtectedRecently.transform.localPosition = new(100f, 100f, 100f);
__instance.ProtectedRecentlySound = new();
return true;
}
}
}