| | |
| | |
|
| | |
|
| | | #endregion |
| | | private List<FunctionForecastConfig> configs = new List<FunctionForecastConfig>(); |
| | | |
| | | private void DefaultSelection()//获取默认选择
|
| | | {
|
| | | var configs = Config.Instance.GetAllValues<FunctionForecastConfig>();
|
| | | if (configs.Count <= 0)
|
| | | {
|
| | | configs= Config.Instance.GetAllValues<FunctionForecastConfig>();
|
| | | }
|
| | | //var configs = Config.Instance.GetAllValues<FunctionForecastConfig>();
|
| | | foreach (var config in configs)
|
| | | {
|
| | | int openTag = config.FuncId;
|
| | |
| | |
|
| | | }
|
| | | } |
| | | List<FunctionForecastConfig> functionForecastValue = new List<FunctionForecastConfig>(); |
| | | void TrailerClassification(int funcID)//预告分类
|
| | | {
|
| | | m_TextTurnedOn.gameObject.SetActive(false);
|
| | |
| | | }
|
| | | if (!FuncOpen.Instance.IsFuncOpen(ClickFuncID) && Type && NeedLv > playerLv)
|
| | | {
|
| | | var functionForecastValue = Config.Instance.GetAllValues<FunctionForecastConfig>();
|
| | | if (functionForecastValue.Count <= 0)
|
| | | {
|
| | | functionForecastValue= Config.Instance.GetAllValues<FunctionForecastConfig>();
|
| | | }
|
| | | // var functionForecastValue = Config.Instance.GetAllValues<FunctionForecastConfig>();
|
| | | string StrNanme = string.Empty;
|
| | | foreach (var value in functionForecastValue)
|
| | | {
|