| | |
| | |
|
| | | void Assignment()
|
| | | {
|
| | | var functionForcecastConfig = Config.Instance.Get<FunctionForecastConfig>(OpenID);
|
| | | var functionForcecastConfig = FunctionForecastConfig.Get(OpenID);
|
| | | if (functionForcecastConfig == null)
|
| | | {
|
| | | Close();
|
| | | }
|
| | | var openLvConfig = Config.Instance.Get<FuncOpenLVConfig>(OpenID);
|
| | | var openLvConfig = FuncOpenLVConfig.Get(OpenID);
|
| | |
|
| | | FunctionImage.SetSprite(functionForcecastConfig.FuncIconKey);
|
| | | IconText.text = functionForcecastConfig.FuncName;
|
| | |
| | | if (openLvConfig.LimitMagicWeapon != 0)
|
| | | {
|
| | | int faBaoID = openLvConfig.LimitMagicWeapon / 100;
|
| | | TreasureConfig treasure = Config.Instance.Get<TreasureConfig>(faBaoID);
|
| | | TreasureConfig treasure = TreasureConfig.Get(faBaoID);
|
| | | ContentText1.text = string.Format(Language.Get("FuncFBOpen"), treasure.Name);
|
| | | return;
|
| | | }
|