Assets/Scripts/TowerDefense/Towers/WaveLineSelEffect.cs
@@ -1,4 +1,5 @@ using DG.Tweening; using KTGMGemClient; using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -47,6 +48,15 @@ { mCurMat = this.GetComponent<MeshRenderer>().material; myPS = transform.GetChild(0).GetChild(0).GetComponent<ParticleSystem>(); EventCenter.Ins.Add<bool>((int)KTGMGemClient.EventType.EndlessStartDragSkill, EndlessStartDragSkill); } private void EndlessStartDragSkill(bool isOn) { if(!isOn){ SetParticleSystem(isOn); } } // Update is called once per frame