public static void Prefix(UIBehaviour __instance) { if (__instance is Text text) { TextFontManager.Remove(text); } }
public static void Prefix(Text __instance) { TextFontManager.Get(__instance)?.OnGetFont(); }