private void OnSelect(PetInfo rInfo)
 {
     RefreshLeft(rInfo);
     RefreshRight(rInfo);
     RefreshMatrial();
     RefreshEvolveState();
     if (rInfo.IsEvolveMax() && maxHint != null)
     {
         maxHint.gameObject.SafeSetActive(true);
     }
 }
    private void RefreshLeft(PetInfo rInfo)
    {
        left.SafeSetActive(!rInfo.IsEvolveMax());

        var grade = rInfo.UpGradeInfo;

        Util.SetText(leftGradeText, grade.CombineGradeName(rInfo.Star));
        SetStar(leftStarGroup, rInfo.Star);
        Util.ClearChildren(leftAttr);
        var showList = rInfo.Attribute;

        for (var i = 0; i < showList.Count; i++)
        {
            var t = leftAttr.AddNewChild(leftAttrTemp);
            t.SafeSetActive(true);
            BindProperty(t, showList[i]);
        }
    }