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

22 lines
459 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using Fie.Object;
using UnityEngine;
namespace Fie.Ponies.RainbowDash
{
[FiePrefabInfo("Prefabs/RainbowDash/Power/RainbowDashOmniSmashHitEffect")]
public class FieEmitObjectRainbowDashOmniSmashHitEffect : FieEmittableObjectBase
{
private const float duration = 1.5f;
public override void awakeEmitObject()
{
base.transform.rotation = Quaternion.LookRotation(directionalVec);
destoryEmitObject(1.5f);
}
private void Update()
{
}
}
}