mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
18 lines
507 B
C#
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);
|
|
}
|
|
}
|