40 lines
1004 B
C#
40 lines
1004 B
C#
using BrewMonster.Assets.PerfectWorld.Scripts.UI.GamePlay;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace BrewMonster
|
|
{
|
|
public class LearnedSkillUI : AUIImagePicture
|
|
{
|
|
[Header("LearnedSkillUI")]
|
|
[SerializeField] Button learnedSkillbutton;
|
|
[SerializeField] private DoubleTapButton wButton;
|
|
|
|
private void Awake()
|
|
{
|
|
if(learnedSkillbutton == null)
|
|
{
|
|
Debug.LogError("Learned Skill Button is not assigned in LearnedSkillUI");
|
|
}
|
|
learnedSkillbutton.onClick.RemoveAllListeners();
|
|
learnedSkillbutton.onClick.AddListener(AddShortCutSkill);
|
|
wButton.DoubleTapped += OpenSetShortCutSkillUI;
|
|
}
|
|
private void AddShortCutSkill()
|
|
{
|
|
|
|
}
|
|
private void OpenSetShortCutSkillUI()
|
|
{
|
|
|
|
}
|
|
}
|
|
/*public struct OpenSetShortCutSkillUIEvent
|
|
{
|
|
public OpenSetShortCutSkillUIEvent()
|
|
{
|
|
|
|
}
|
|
}*/
|
|
}
|