FiE-Game/Assets/Scripts/Fie/Ponies/Fie.Ponies.RainbowDash/FieEmitObjectRainbowDashHitEffectStab.cs

16 lines
372 B
C#

using Fie.Object;
namespace Fie.Ponies.RainbowDash
{
[FiePrefabInfo("Prefabs/RainbowDash/Power/RainbowDashHitEffectStab")]
public class FieEmitObjectRainbowDashHitEffectStab : FieEmittableObjectBase
{
private const float DURATION = 1.5f;
public override void awakeEmitObject()
{
base.transform.position = directionalVec;
destoryEmitObject(1.5f);
}
}
}