private static bool Prefix(HandReticle __instance, ref string text1, ref string text2, ref HandReticle.Hand hand) { if (config.HideNames) { text1 = String.Empty; } if (config.DisableText2) { text2 = String.Empty; } if (config.DisableInputIcon) { hand = HandReticle.Hand.None; } return(true); }
private void SetInteractText(string text1, bool translate1, string text2 = "", bool translate2 = false, HandReticle.Hand hand = HandReticle.Hand.None) { HandReticle.main.SetInteractText(text1, text2, translate1, translate2, hand);