From 34b607d8da517eaff1eb35e437f12ee757708b22 Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Tue, 27 Oct 2020 14:33:31 +0800 Subject: [PATCH] 新手引导最终版 --- 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