mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 23:37:59 +01:00
18 lines
467 B
C#
18 lines
467 B
C#
using Fie.Object;
|
|
using UnityEngine;
|
|
|
|
namespace Fie.Ponies.Twilight
|
|
{
|
|
[FiePrefabInfo("Prefabs/Twilight/Power/TwilightForceFieldReflectEffect")]
|
|
public class FieEmitObjectTwilightForceFieldReflectEffect : FieEmittableObjectBase
|
|
{
|
|
[SerializeField]
|
|
private float reflectEffectDuration = 0.6f;
|
|
|
|
public override void awakeEmitObject()
|
|
{
|
|
base.transform.rotation = Quaternion.LookRotation(directionalVec);
|
|
destoryEmitObject(reflectEffectDuration);
|
|
}
|
|
}
|
|
}
|