| | |
| | | m_BottomBox.SetActive(false);
|
| | | m_Text_two.SetActive(false);
|
| | | m_FrameNull.SetActive(false);
|
| | | m_TextAttributes1.gameObject.SetActive(false);
|
| | | m_TextAttributes2.gameObject.SetActive(false);
|
| | | m_TextAttributesAdd1.gameObject.SetActive(false);
|
| | | m_TextAttributesAdd2.gameObject.SetActive(false);
|
| | | FullLevelAttributes();//设置满级属性
|
| | | m_FullLevel.SetActive(true);
|
| | | GodBeast_Number = GodBeastNumber;
|
| | | GodBeast_Part = GodBeastPart;
|
| | |
| | | }
|
| | |
|
| | | }
|
| | | private void FullLevelAttributes()//设置满级属性
|
| | | {
|
| | | var DogzEquipConfig = DogzEquipPlusConfig.GetEquipplaceAndLevel(GodBeastPart, DogZLv);
|
| | | int[] AttType = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attType);
|
| | | int[] AttValue = ConfigParse.GetMultipleStr<int>(DogzEquipConfig.attValue);
|
| | | m_TextAttributesAdd1.gameObject.SetActive(false);
|
| | | m_TextAttributesAdd2.gameObject.SetActive(false);
|
| | | if (AttType.Length > 1)
|
| | | {
|
| | | m_TextAttributes1.gameObject.SetActive(true);
|
| | | m_TextAttributes2.gameObject.SetActive(true);
|
| | | string StrName1 = Config.Instance.Get<PlayerPropertyConfig>(AttType[0]).Name;
|
| | | string StrName2 = Config.Instance.Get<PlayerPropertyConfig>(AttType[1]).Name;
|
| | | m_TextAttributes1.text = StrName1 + ":" + AttValue[0];
|
| | | m_TextAttributes2.text = StrName2 + ":" + AttValue[1];
|
| | | }
|
| | | else
|
| | | {
|
| | | m_TextAttributes2.gameObject.SetActive(false);
|
| | | string StrName1 = Config.Instance.Get<PlayerPropertyConfig>(AttType[0]).Name;
|
| | | m_TextAttributes1.text = StrName1 + ":" + AttValue[0];
|
| | | }
|
| | | }
|
| | | } |
| | | |
| | | } |