Esempio n. 1
0
        public static bool Prefix(ref object arg0, ref object arg1)
        {
            arg0 = Replacement.ReplaceText(arg0.ToString());
            arg1 = Replacement.ReplaceText(arg1.ToString());

            return(true);
        }
Esempio n. 2
0
        public static bool Prefix(ref object[] arg)
        {
            arg = arg
                  .Select(x => Replacement.ReplaceText(x.ToString()))
                  .ToArray();

            return(true);
        }
 public static void Postfix(TextMeshProUGUI __instance)
 {
     __instance.text = Replacement.ReplaceText(__instance.text);
 }
Esempio n. 4
0
 private static bool Prefix(ref string value)
 {
     value = Replacement.ReplaceText(value);
     return(true);
 }