From 028a6c50ac23a694edbf1d3f604f58a66346417f Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Wed, 18 Nov 2020 11:27:38 +0800 Subject: [PATCH] 修改攻击范围的渲染层级 BottomUI不再使用1080*1920,而是直接适配 离开技能区域关闭提示 --- Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs b/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs index 2023709..b8892ca 100644 --- a/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs +++ b/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs @@ -2301,6 +2301,14 @@ } //selEff.SetWaveLineSel(true); } + else + { + if (currentEffect != null) + { + currentEffect.SetParticleSystem(false); + currentEffect = null; + } + } } // 炸弹是区域攻击显示: else if (m_CurrentTower.controller.towerFeature == EFeatureTower.Skill_Bomb) -- Gitblit v1.9.1