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