| | |
| | | _Information.gameObject.SetActive(true);
|
| | | _FunctionIcon.SetSprite(FunctionForecastConfig.Get(ID).FuncIconKey);
|
| | | _NameText.text = FunctionForecastConfig.Get(ID).Describe;
|
| | | FuncOpenLVConfig funcoPenConfig = FuncOpenLVConfig.Get(ID);
|
| | | if (funcoPenConfig.LimitMagicWeapon != 0 || funcoPenConfig.LimitMissionID != 0)
|
| | | {
|
| | | if (funcoPenConfig.LimitMagicWeapon != 0)
|
| | | {
|
| | | int faBaoID = funcoPenConfig.LimitMagicWeapon / 100;
|
| | | TreasureConfig treasure = TreasureConfig.Get(faBaoID);
|
| | | _Information.text = string.Format(Language.Get("FuncFBOpen"), treasure.Name);
|
| | | return;
|
| | | }
|
| | | if (funcoPenConfig.LimitMissionID != 0)
|
| | | {
|
| | | _Information.text = string.Format(Language.Get("TaskFuncOpen"), funcoPenConfig.LimitLV);
|
| | | return;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | _Information.text = string.Format(Language.Get("FuncLevelOpen"), funcoPenConfig.LimitLV);
|
| | | }
|
| | | _Information.text= FunctionForecastConfig.Get(ID).OpenDescribe;
|
| | |
|
| | | }
|
| | |
|