public void SetAishouLbl(UILabel lbl, float aishou) { if (aishou < -10.0f) { lbl.text = "--"; lbl.color = Color.white; } else { if (aishou == 0.0f) { lbl.text = Localization.Get("MatchHeavy"); lbl.color = GUIColors.Instance.MatchColor_Plus; } else if (aishou < 0.0f) { lbl.color = GUIColors.Instance.MatchColor_Minus; lbl.text = PSGameUtils.GetPercent(aishou); } else { lbl.color = GUIColors.Instance.MatchColor_Plus; lbl.text = PSGameUtils.GetPercent(aishou); } } }