| | |
| | | else
|
| | | {
|
| | | progressObj.SetActive(true);
|
| | | lockText.gameObject.SetActive(false);
|
| | | progressValue.text = StringUtility.Contact((float)Math.Round(playerPack.GetAlchemyProgress(alchemyModel),2),"%");
|
| | |
|
| | | lockText.gameObject.SetActive(false);
|
| | | float progress = (float)Math.Round(playerPack.GetAlchemyProgress(alchemyModel), 2);
|
| | | if(progress > 0)
|
| | | {
|
| | | progressValue.text = UIHelper.GetTextColorByItemColor(TextColType.Green, StringUtility.Contact(progress, "%"));
|
| | | }
|
| | | else
|
| | | {
|
| | | progressValue.text = UIHelper.GetTextColorByItemColor(TextColType.White, StringUtility.Contact(progress, "%"));
|
| | | }
|
| | | }
|
| | |
|
| | | if (index == selectIndex)
|