chenxin
2020-11-14 719a8a206e5167a28e5d968e13c38a3114082b7a
Assets/Scripts/TowerDefense/Towers/TowerFireTrigger.cs
@@ -20,15 +20,16 @@
        public void OnFire()
        {
            if (!isStart)
            {
                isStart = true;
            }
            else
            {
                Debug.Log($"--------------------- {duration} ---------------------");
                duration = 0;
            }
            // cx test
            // if (!isStart)
            // {
            //     isStart = true;
            // }
            // else
            // {
            //     Debug.Log($"--------------------- {duration} ---------------------");
            //     duration = 0;
            // }
            Affector.FireProjectile();
        }