FiE-Game/Assets/Scripts/Fie/Enemies/HoovesRaces/QueenChrysalis/FieEmitObjectQueenChrysalisPenetrateShotActivateEffect.cs

18 lines
490 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using Fie.Object;
using UnityEngine;
namespace Fie.Enemies.HoovesRaces.QueenChrysalis
{
[FiePrefabInfo("Prefabs/Enemies/ChangelingForces/QueenChrysalis/Power/QueenChrysalisPenetrateShotActivateEffect")]
public class FieEmitObjectQueenChrysalisPenetrateShotActivateEffect : FieEmittableObjectBase
{
private const float DURATION = 3f;
public override void awakeEmitObject()
{
base.transform.rotation = Quaternion.LookRotation(directionalVec);
destoryEmitObject(3f);
}
}
}