mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-12-03 10:17:59 +01:00
22 lines
465 B
C#
22 lines
465 B
C#
|
using Fie.Object;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace Fie.Ponies.RainbowDash
|
||
|
{
|
||
|
[FiePrefabInfo("Prefabs/RainbowDash/Power/RainbowDashOmniSmashRainboomEffect")]
|
||
|
public class FieEmitObjectRainbowDashOmniSmashRainboomEffect : FieEmittableObjectBase
|
||
|
{
|
||
|
private const float duration = 2f;
|
||
|
|
||
|
public override void awakeEmitObject()
|
||
|
{
|
||
|
destoryEmitObject(2f);
|
||
|
}
|
||
|
|
||
|
private void Update()
|
||
|
{
|
||
|
base.transform.rotation = Quaternion.LookRotation(directionalVec);
|
||
|
}
|
||
|
}
|
||
|
}
|