FiE-Game/Assets/Scripts/Fie/UI/FieResultLevelEffect.cs

19 lines
303 B
C#

using UnityEngine;
namespace Fie.UI
{
public class FieResultLevelEffect : MonoBehaviour
{
[SerializeField]
private Animation levelUpAnimation;
public void PlayLevelupAnimation()
{
if (levelUpAnimation.isPlaying)
{
levelUpAnimation.Stop();
}
levelUpAnimation.Play();
}
}
}