mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 07:18:00 +01:00
20 lines
303 B
C#
20 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();
|
||
|
}
|
||
|
}
|
||
|
}
|