FiE-Game/Assets/Scripts/Fie/Ponies/Fie.Ponies.Applejack/FieEmitObjectApplejackKickEffect2.cs

24 lines
438 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using Fie.Object;
namespace Fie.Ponies.Applejack
{
[FiePrefabInfo("Prefabs/Applejack/Power/ApplejackKickEffect2")]
public class FieEmitObjectApplejackKickEffect2 : FieEmittableObjectBase
{
private const float DURATION = 1f;
public override void awakeEmitObject()
{
destoryEmitObject(1f);
}
private void Update()
{
if (initTransform != null)
{
base.transform.position = initTransform.position;
}
}
}
}