Assets/Scripts/TowerDefense/Towers/TowerFireTrigger.cs
@@ -12,9 +12,9 @@ { public AttackAffector Affector; private bool isStart; // private bool isStart; private float duration; // private float duration; public void OnFire() { @@ -31,10 +31,10 @@ Affector.FireProjectile(); } private void Update() { if (isStart) duration += Time.deltaTime; } // private void Update() // { // if (isStart) // duration += Time.deltaTime; // } } }