From 3ea9edc13df124b2d64bc35dbb93adafb9509575 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 10 十一月 2018 15:19:25 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/FeatureNoticeTip.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/FeatureNoticeTip.cs b/System/MainInterfacePanel/FeatureNoticeTip.cs
index afa3c21..747fd0d 100644
--- a/System/MainInterfacePanel/FeatureNoticeTip.cs
+++ b/System/MainInterfacePanel/FeatureNoticeTip.cs
@@ -20,6 +20,7 @@
[SerializeField] GameObject m_FeatureNoticeTipObj;
[SerializeField] Text m_Information_reward;//鏈夊鍔卞彲棰嗗彇
FeatureNoticeModel featureNoticeModel { get { return ModelCenter.Instance.GetModel<FeatureNoticeModel>(); } }
+ List<FunctionForecastConfig> configs = new List<FunctionForecastConfig>();
public GameObject FeatureNoticeTipObj
{
get { return m_FeatureNoticeTipObj; }
@@ -31,7 +32,11 @@
}
void DataAssignment()
{
- 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)
{
if (!FuncOpen.Instance.IsFuncOpen(config.FuncId)
--
Gitblit v1.8.0