mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-12-02 09:47:59 +01:00
24 lines
438 B
C#
24 lines
438 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|