public static void set_tooltip(this UiTooltip t) { var a = t.gameObject.GetComponentInChildren <UiToggleButton>(); if (a == null) { return; } if (string.IsNullOrEmpty(t.alternateText)) { return; } var text = (!a.toggledOn) ? t.alternateText : t.text; if (TooltipManager.field_Private_Static_Text_0 != null) { TooltipManager.Method_Public_Static_Void_String_2(text); } if (t.tooltip != null) { t.tooltip.text = text; } }