From 841b66ef416a727a0c798ad2263b098247cb4aa7 Mon Sep 17 00:00:00 2001 From: chenxin <chenxin6991@163.com> Date: Fri, 27 Nov 2020 12:00:16 +0800 Subject: [PATCH] buff预览暂停 --- Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs b/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs index 9a025aa..06921c2 100644 --- a/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs +++ b/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs @@ -2225,7 +2225,7 @@ RaycastHit output; // River: Raycast的碰撞是游戏内物品的Collider进行碰撞检测的 bool hasHit = Physics.Raycast(uiPointer.ray, out output, float.MaxValue, towerSelectionLayer); - if (!hasHit)//|| uiPointer.overUI) + if (!hasHit || uiPointer.overUI) { //Debug.Log("没有点中或者点中了UI:" + hasHit.ToString() + "," + uiPointer.overUI.ToString()); return; -- Gitblit v1.9.1