mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 15:27:59 +01:00
19 lines
471 B
C#
19 lines
471 B
C#
|
using Fie.Object;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace Fie.Ponies.RisingSun
|
||
|
{
|
||
|
[FiePrefabInfo("Prefabs/RisingSun/Power/RisingSunForceFieldReflectEffect")]
|
||
|
public class FieEmitObjectRisingSunForceFieldReflectEffect : FieEmittableObjectBase
|
||
|
{
|
||
|
[SerializeField]
|
||
|
private float reflectEffectDuration = 0.6f;
|
||
|
|
||
|
public override void awakeEmitObject()
|
||
|
{
|
||
|
base.transform.rotation = Quaternion.LookRotation(directionalVec);
|
||
|
destoryEmitObject(reflectEffectDuration);
|
||
|
}
|
||
|
}
|
||
|
}
|