wangguan
2020-11-04 2ae9edd5bfd8b8baabb8cd995485f9ade4faebc9
Assets/Scripts/TowerDefense/Level/EndlessWaveLineManager.cs
@@ -60,7 +60,9 @@
            ps = obj.transform.GetChild(0).GetComponent<ParticleSystem>();
        ps.transform.position = EndlessLevelManager.instance.WaveManager.GetWaveEndPos(id);
        ps.Play();
        Destroy(ps.gameObject, ps.main.duration);
        AudioSourceManager.Ins.Play(AudioEnum.FireSkill);
        Destroy(obj, ps.main.duration);
    }
    /// <summary>
@@ -78,7 +80,9 @@
            ps = obj.transform.GetChild(0).GetComponent<ParticleSystem>();
        ps.transform.position = pos;
        ps.Play();
        Destroy(ps.gameObject, ps.main.duration);
        AudioSourceManager.Ins.Play(AudioEnum.LightningSkill);
        Destroy(obj, ps.main.duration);
    }
    /// <summary>