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

20 lines
303 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using UnityEngine;
namespace Fie.UI
{
public class FieResultLevelEffect : MonoBehaviour
{
[SerializeField]
private Animation levelUpAnimation;
public void PlayLevelupAnimation()
{
if (levelUpAnimation.isPlaying)
{
levelUpAnimation.Stop();
}
levelUpAnimation.Play();
}
}
}