public static void Postfix(PingTracker __instance) { var position = __instance.GetComponent <AspectPosition>(); position.DistanceFromEdge = new Vector3(3.1f, 0.1f, 0); position.AdjustPosition(); __instance.text.text = "<color=#00FF00FF>TownOfUs " + TownOfUs.GetVersion() + "</color>\n" + $"Ping: {AmongUsClient.Instance.Ping}ms\n" + (!MeetingHud.Instance ? "tinyurl.com/Town-Of-Us" : ""); }
public static void Postfix(VersionShower __instance) { var text = __instance.text; text.text += " - <color=#00FF00FF>TownOfUs " + TownOfUs.GetVersion() + "</color>"; }