mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-27 07:47:59 +01:00
21 lines
558 B
C#
21 lines
558 B
C#
using Fie.Object;
|
|
using UnityEngine;
|
|
|
|
namespace Fie.Enemies.HoovesRaces.ChangelingAlpha
|
|
{
|
|
[FiePrefabInfo("Prefabs/Enemies/ChangelingForces/ChangelingAlpha/Power/ChangelingAlphaChargeEffect")]
|
|
public class FieEmitObjectChangelingAlphaChargeEffect : FieEmittableObjectBase
|
|
{
|
|
private const float DURATION = 1f;
|
|
|
|
public override void awakeEmitObject()
|
|
{
|
|
if (initTransform != null)
|
|
{
|
|
base.transform.position = initTransform.position;
|
|
}
|
|
base.transform.rotation = Quaternion.LookRotation(directionalVec);
|
|
destoryEmitObject(1f);
|
|
}
|
|
}
|
|
}
|