From d64f29d6565417d62222144203c97d98b67f4fb3 Mon Sep 17 00:00:00 2001 From: River Jiang <546213258@qq.com> Date: Tue, 27 Oct 2020 17:27:02 +0800 Subject: [PATCH] Merge branch 'master' of http://172.16.1.52:8090/r/GemBattle into master --- Assets/Scripts/Guide/GuidePanel.cs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Assets/Scripts/Guide/GuidePanel.cs b/Assets/Scripts/Guide/GuidePanel.cs index 7af2a97..a2427cf 100644 --- a/Assets/Scripts/Guide/GuidePanel.cs +++ b/Assets/Scripts/Guide/GuidePanel.cs @@ -259,6 +259,7 @@ GameObject go = transform.Find("Image_TowerPos2").gameObject; Image btnImg = go.GetComponent<Image>(); + btnImg.raycastTarget=false; InitRectGuidance(btnImg, 75, 80); SetRimPos(go); maskObj.ShowImmediately(); @@ -284,6 +285,7 @@ { if (currentIndex == 0) { + SetRimActive(true); //设置位置 AddButtonListener(towerBuyBtn, ac); @@ -297,6 +299,7 @@ { GameObject go = transform.Find("Image_TowerPos2").gameObject; Image btnImg = go.GetComponent<Image>(); + btnImg.raycastTarget=true; InitRectGuidance(btnImg, 75, 80); SetRimPos(go); maskObj.ShowImmediately(); -- Gitblit v1.9.1