internal static bool RefreshValue_Prefix(uGUI_Binding __instance) { if (__instance.gameObject.GetComponent <ModBindingTag>() is null) { return(true); } __instance.currentText.text = (__instance.active || __instance.value == null) ? "" : __instance.value; __instance.UpdateState(); return(false); }
static bool Prefix(uGUI_Binding __instance) { if (!__instance.gameObject.GetComponent <KeyWModBindOption.Tag>()) { return(true); } __instance.currentText.text = (__instance.active || __instance.value == null)? "": __instance.value; __instance.UpdateState(); return(false); }