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