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

17 lines
372 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
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);
}
}
}