From 85d6bea98caca7d78674ba9bd0aeab297f3fbb79 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 25 五月 2019 14:05:14 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/MainInterfacePanel/MainButtonMisc.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/System/MainInterfacePanel/MainButtonMisc.cs b/System/MainInterfacePanel/MainButtonMisc.cs
index fc2390a..0696d51 100644
--- a/System/MainInterfacePanel/MainButtonMisc.cs
+++ b/System/MainInterfacePanel/MainButtonMisc.cs
@@ -25,6 +25,8 @@
         [SerializeField] Button m_FriendQuestBtn;
         [SerializeField] Button m_FairyRequestBtn;
         [SerializeField] Button m_ReikiResetRemind;
+        [SerializeField] AlchemyDrugProgressBehaviour m_AlchemyNormal;
+        [SerializeField] AlchemyDrugProgressBehaviour m_AlchemyFairy;
 
         FestivalRedpackModel festivalRedpackModel { get { return ModelCenter.Instance.GetModel<FestivalRedpackModel>(); } }
         OSRedEnvelopeModel OSEnvelopeModel { get { return ModelCenter.Instance.GetModel<OSRedEnvelopeModel>(); } }
@@ -59,6 +61,9 @@
             IsCrossServerOneVsOne();
             DisplayReikiRemind();
 
+            m_AlchemyNormal.Initialize();
+            m_AlchemyFairy.Initialize();
+
             RedPacketModel.OnRedBagGetEvent += OnRedBagGet;
             OSEnvelopeModel.OSRedEnvelopeUpdateEvent += OnRedBagGet;
             OSEnvelopeModel.OSRedEnvelopeInfoEnvent += OnRedBagGet;
@@ -84,6 +89,8 @@
 
         public void UnInit()
         {
+            m_AlchemyNormal.UnInitialize();
+            m_AlchemyFairy.UnInitialize();
             m_CollectBehaviour.Dispose();
             RedPacketModel.OnRedBagGetEvent -= OnRedBagGet;
             OSEnvelopeModel.OSRedEnvelopeUpdateEvent -= OnRedBagGet;

--
Gitblit v1.8.0