From 07517d8c316fa2992c87d3561fffe90236a87f80 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 28 一月 2019 14:43:09 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/HighSettingTip.cs | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/System/MainInterfacePanel/HighSettingTip.cs b/System/MainInterfacePanel/HighSettingTip.cs
index 0c8667f..e3f90f5 100644
--- a/System/MainInterfacePanel/HighSettingTip.cs
+++ b/System/MainInterfacePanel/HighSettingTip.cs
@@ -53,6 +53,7 @@
[SerializeField] Button m_FlashRushBtn;//闄愭椂鎶㈣喘
[SerializeField] Button m_CrossServerBtn;//璺ㄦ湇1V1鎸夐挳
[SerializeField] Button m_OpenServiceBtn;//鍛ㄧ媯娆㈡寜閽�
+ [SerializeField] Button m_NewYearBtn;//鏂板勾鐩涘吀
private bool _bool = true;
private int swicthCdTime = 0;
private bool IsFadeOut = true;
@@ -96,6 +97,7 @@
m_FlashRushBtn.AddListener(OnClickFlashRushBtn);
m_CrossServerBtn.AddListener(OnClickCrossServerBtn);
m_OpenServiceBtn.AddListener(OnClickOpenServiceBtn);
+ m_NewYearBtn.AddListener(OnClickNewYearBtn);
if (_bool)
{
ColseButton();
@@ -151,6 +153,7 @@
_RuneTaBtn.onClick.RemoveAllListeners();
m_FlashSaleBtn.RemoveAllListeners();
m_AllThePeopleBtn.RemoveAllListeners();
+ m_NewYearBtn.RemoveAllListeners();
CoroutineMgr.Instance.MainHighTipCdTimeEvent -= OnMainHighTipCdTime;
FunctionUnlockFlyObjectTarget.IsPlayerUiEffect -= IsPlayerUiEffect;
FuncOpen.Instance.OnFuncStateChangeEvent -= OnFuncStateChange;
@@ -390,6 +393,12 @@
WindowCenter.Instance.Open<AchievementActivityWin>();
}
+
+ void OnClickNewYearBtn()
+ {
+ WindowCenter.Instance.Close<MainInterfaceWin>();
+ WindowCenter.Instance.Open<NewYearFairylandCeremonyWin>();
+ }
public void ShowButton()//鍚戜笂
{
--
Gitblit v1.8.0