| | |
| | | FunctionImage.SetSprite(functionForcecastConfig.FuncIconKey);
|
| | | IconText.text = functionForcecastConfig.FuncName;
|
| | | ContentText.text = functionForcecastConfig.DetailDescribe;
|
| | | if (openLvConfig.LimitMagicWeapon != 0 || openLvConfig.LimitMissionID != 0)
|
| | | {
|
| | | if (openLvConfig.LimitMagicWeapon != 0)
|
| | | {
|
| | | int faBaoID = openLvConfig.LimitMagicWeapon / 100;
|
| | | TreasureConfig treasure = TreasureConfig.Get(faBaoID);
|
| | | ContentText1.text = string.Format(Language.Get("FuncFBOpen"), treasure.Name);
|
| | | return;
|
| | | }
|
| | | if (openLvConfig.LimitMissionID != 0)
|
| | | {
|
| | | ContentText1.text = string.Format(Language.Get("TaskFuncOpen"), openLvConfig.LimitLV);
|
| | | return;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | ContentText1.text = string.Format(Language.Get("FuncLevelOpen"), openLvConfig.LimitLV);
|
| | | }
|
| | | ContentText1.text = functionForcecastConfig.OpenDescribe;
|
| | | }
|
| | |
|
| | | protected override void OnPreClose()
|