Files
BetterAmongUs/Patches/ChatNotificationPatch.cs
T
2024-08-31 20:05:55 -05:00

18 lines
507 B
C#

using HarmonyLib;
using TMPro;
using UnityEngine;
namespace BetterAmongUs.Patches;
[HarmonyPatch(typeof(ChatNotification))]
public class ChatNotificationPatch
{
[HarmonyPatch(nameof(ChatNotification.Update))]
[HarmonyPostfix]
public static void Update_Postfix(ChatNotification __instance)
{
__instance.GetComponent<AspectPosition>().DistanceFromEdge = new Vector3(-2.8f, 0.3f, -40f);
__instance.transform.localScale = new Vector3(0.45f, 0.42f);
}
}