mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2025-02-17 10:54:22 +01:00
20 lines
370 B
C#
20 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);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|