| | |
| | | Transform Tran = cell.transform;
|
| | | GameObject Tran1 = Tran.Find("FeaturesTypeOne").gameObject;
|
| | | GameObject Tran2 = Tran.Find("FeaturesTypeTwo").gameObject;
|
| | | if (funcId == featureNoticeModel.FunctionForecastIndex)
|
| | | var configs = Config.Instance.Get<FunctionForecastConfig>(funcId);
|
| | | if (configs.OpenNumber == featureNoticeModel.FunctionForecastIndex)
|
| | | {
|
| | |
|
| | | Tran1.SetActive(false);
|
| | |
| | | int openTag = config.FuncId;
|
| | | if (!FuncOpen.Instance.IsFuncOpen(openTag))
|
| | | {
|
| | | featureNoticeModel.FunctionForecastIndex = config.FuncId;
|
| | | featureNoticeModel.FunctionForecastIndex = config.OpenNumber;
|
| | | return;
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | Index = featureNoticeModel.FunctionList.FindIndex((x) =>
|
| | | {
|
| | | return x.FuncId == featureNoticeModel.FunctionForecastIndex;
|
| | | return x.OpenNumber == featureNoticeModel.FunctionForecastIndex;
|
| | | });
|
| | | if (Index == -1)
|
| | | {
|