| | |
| | | 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> |
| | |
| | | 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> |