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

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);
}
}
}
}