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

16 lines
376 B
C#

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