3488 【前端】【1.0.15】【1.1.0】功能预告优化
| | |
| | | m_FeaturesTypeIcon.SetSprite(functionForecastConfig.FuncIconKey);
|
| | | if (PlayerDatas.Instance.baseData.LV >= functionForecastConfig.DisplayLevel)
|
| | | {
|
| | | m_FunctionalLevel.color = new Color(141,220,17);
|
| | | m_FunctionalLevel.color = new Color32(141,220,17,255);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_FunctionalLevel.color = new Color(255, 244, 205);
|
| | | m_FunctionalLevel.color = new Color32(255, 244, 205,255);
|
| | | }
|
| | | if (FuncOpen.Instance.IsFuncOpen(funcId))
|
| | | {
|
| | |
| | | m_FeaturesTypeIcon.SetSprite(functionForecastConfig.FuncIconKey);
|
| | | if (PlayerDatas.Instance.baseData.LV >= functionForecastConfig.DisplayLevel)
|
| | | {
|
| | | m_FunctionalLevel.color = new Color(141, 220, 17);
|
| | | m_FunctionalLevel.color = new Color32(141, 220, 17,255);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_FunctionalLevel.color = new Color(255, 244, 205);
|
| | | m_FunctionalLevel.color = new Color32(255, 244, 205,255);
|
| | | }
|
| | | if (FuncOpen.Instance.IsFuncOpen(funcId))
|
| | | {
|
| | |
| | | foreach (var config in configs)
|
| | | {
|
| | | if (!FuncOpen.Instance.IsFuncOpen(config.FuncId)
|
| | | && PlayerDatas.Instance.baseData.LV >= config.OpenLevel)
|
| | | && PlayerDatas.Instance.baseData.LV >= config.OpenLevel && config.Display==1)
|
| | | {
|
| | | OpenTag = config.FuncId;
|
| | | if (FunctionOpenTagEvent != null)
|