private void updateProp() { if (magicWeapon.getPhaseLv() == magicWeapon.getMaxPhaseLv()) { conditionPoint.SetActive(false); } else { conditionPoint.SetActive(true); } if (type == MagicWeaponType.PHASE) { string[][] props = CommandConfigManager.Instance.getMagicWeaponPhaseProp(); int quaIndex = magicWeapon.getLvType(); string[] selectPropList = props[quaIndex - 2]; string selsecNum = magicWeapon.getPhaseLv() >= (selectPropList.Length)?selectPropList[selectPropList.Length - 1]:selectPropList[magicWeapon.getPhaseLv()]; Prop p = PropManagerment.Instance.createProp(StringKit.toInt(selsecNum.Split(',')[0])); goodsView.init(p); goodsView.backGround.gameObject.SetActive(false); Prop storeProp = StorageManagerment.Instance.getProp(StringKit.toInt(selsecNum.Split(',')[0])); int needStringLv = magicWeapon.getNeedStrengLv(magicWeapon.getPhaseLv() >= magicWeapon.getMaxPhaseLv()?magicWeapon.getPhaseLv() - 1:magicWeapon.getPhaseLv()); if (magicWeapon.getStrengLv() < needStringLv) { phaseNeedStengLv.text = "[FF0000]" + magicWeapon.getStrengLv().ToString() + "/" + needStringLv.ToString(); } else { phaseNeedStengLv.text = "[3A9663]" + magicWeapon.getStrengLv().ToString() + "/" + needStringLv.ToString(); } if (storeProp == null) { needNum.text = "[FF0000]0/" + StringKit.toInt(selsecNum.Split(',')[1]).ToString(); } else { if (storeProp.getNum() < StringKit.toInt(selsecNum.Split(',')[1])) { needNum.text = "[FF0000]" + storeProp.getNum() + "/" + StringKit.toInt(selsecNum.Split(',')[1]).ToString(); } else { needNum.text = "[3A9663]" + storeProp.getNum() + "/" + StringKit.toInt(selsecNum.Split(',')[1]).ToString(); } } } }