add some extra assets FX and SFX

This commit is contained in:
Robii Aragon
2026-03-29 23:03:14 -07:00
parent 6ef3eb1535
commit 24dc66a81e
10142 changed files with 2535978 additions and 36608 deletions

View File

@@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PixPlays.ElementalVFX
{
public class ParticleSystemShield : Shield
{
[SerializeField] ParticleSystem _ShieldEffect;
[SerializeField] ParticleSystem _HitEffectPrefab;
protected override void HitImplementation(Vector3 point, Vector3 normal)
{
ParticleSystem effect = Instantiate(_HitEffectPrefab, point, Quaternion.identity);
effect.transform.forward = normal;
effect.Play();
}
protected override void PlayImplementation()
{
_ShieldEffect.Play();
}
protected override void StopImplemenation()
{
_ShieldEffect.Stop();
}
}
}