add some extra assets FX and SFX
This commit is contained in:
22
Assets/PixPlays/Components/Scripts/VfxSystem/PlayableVfx.cs
Normal file
22
Assets/PixPlays/Components/Scripts/VfxSystem/PlayableVfx.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Playables;
|
||||
|
||||
namespace PixPlays.ElementalVFX
|
||||
{
|
||||
public class PlayableVfx : VfxReference
|
||||
{
|
||||
[SerializeField] PlayableDirector _Vfx;
|
||||
|
||||
public override void Play()
|
||||
{
|
||||
_Vfx.Play();
|
||||
}
|
||||
|
||||
public override void Stop()
|
||||
{
|
||||
_Vfx.Stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user