mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 23:37:59 +01:00
19 lines
370 B
C#
19 lines
370 B
C#
using UnityEngine;
|
|
|
|
namespace Fie.UI
|
|
{
|
|
public class FieSkillTreeBackButton : MonoBehaviour
|
|
{
|
|
public delegate void FieSkillTreeBackButtonCallback(FieSkillTreeBackButton clickedButton);
|
|
|
|
public event FieSkillTreeBackButtonCallback clickedEvent;
|
|
|
|
public void OnClickedCallback()
|
|
{
|
|
if (this.clickedEvent != null)
|
|
{
|
|
this.clickedEvent(this);
|
|
}
|
|
}
|
|
}
|
|
}
|