void setAttributeid(EquipmentItem item)
    {
        if (item == null)
        {
            for (int i = 0; i < PropertyNum.Length; i++)
            {
                PropertyNum[i].transform.parent.gameObject.SetActive(false);
            }
            return;
        }

        for (int i = 0; i < item.changeStar; i++)
        {
            PropertyNum[i].text = attributeList[i].ToString();
            PropertyName[i].text = item.getAttriButeidName(i);

            PropertyNum[i].transform.parent.gameObject.SetActive(true);
           
            for (int j = i+1; j < PropertyNum.Length; j++)
            {
                PropertyNum[j].transform.parent.gameObject.SetActive(false);
            }
        }    
    }
    void setDamond(EquipmentItem item)
    {
        if (item == null)
        {
            for (int i = 0; i < Damond.Length; i++)
            {
               Damond[i].transform.parent.gameObject.SetActive(false);
            }
            return;
        }

        if (item.gholestar1 >= item.changeStar )
        {
            //Damond[0].spriteName = item.gholecolor1.ToString();
            Damond[0].spriteName = "hb_60";
            DamondName[0].text = "未镶嵌宝石";
            DamondName[0].color = color[0];
        }
        if (item.gholestar2 >= item.changeStar )
        {
            //Damond[1].spriteName = item.gholecolor2.ToString();
            Damond[1].spriteName = "hb_60";
            DamondName[1].text = "未镶嵌宝石";
            DamondName[1].color = color[0];
            
        }
        
        DamasceneAward.text = item.gattribute.ToString() 
                                + item.getAttriButeidName(item.gattributeid);
    }