23 lines
413 B
C#
23 lines
413 B
C#
|
|
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();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|