From fec9df87626939ec42b30401b05e04e29a15fed2 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 11 六月 2019 16:25:13 +0800
Subject: [PATCH] 4006 主界面自动缩放逻辑。
---
System/MainInterfacePanel/MainPositionTween.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/System/MainInterfacePanel/MainPositionTween.cs b/System/MainInterfacePanel/MainPositionTween.cs
index cb48d4e..42fb285 100644
--- a/System/MainInterfacePanel/MainPositionTween.cs
+++ b/System/MainInterfacePanel/MainPositionTween.cs
@@ -43,6 +43,16 @@
TreasureModel treasureModel { get { return ModelCenter.Instance.GetModel<TreasureModel>(); } }
+ public void Init()
+ {
+ this.enabled = true;
+ }
+
+ public void UnInit()
+ {
+ this.enabled = false;
+ }
+
void Start()
{
m_RayMask.AddListener(MarkRayButton);
--
Gitblit v1.8.0