From 8637f933a9987b4b16dd9725189a1c6ee2685118 Mon Sep 17 00:00:00 2001 From: River Jiang <546213258@qq.com> Date: Wed, 28 Oct 2020 10:12:05 +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