mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-23 14:17:59 +01:00
18 lines
516 B
C#
18 lines
516 B
C#
using Fie.Object;
|
|
using UnityEngine;
|
|
|
|
namespace Fie.Enemies.HoovesRaces.ChangelingAlpha
|
|
{
|
|
[FiePrefabInfo("Prefabs/Enemies/ChangelingForces/ChangelingAlpha/Power/ChangelingAlphaReflectEffect")]
|
|
public class FieEmitObjectChangelingAlphaReflectionEffect : FieEmittableObjectBase
|
|
{
|
|
[SerializeField]
|
|
private float reflectEffectDuration = 0.6f;
|
|
|
|
public override void awakeEmitObject()
|
|
{
|
|
base.transform.rotation = Quaternion.LookRotation(directionalVec);
|
|
destoryEmitObject(reflectEffectDuration);
|
|
}
|
|
}
|
|
}
|