You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
853 B
C#

3 weeks ago
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Panel_GameHUD : TWS_UIPanel
{
public Animator animator;
public TMPro.TMP_Text playerName;
public TMPro.TMP_Text playerRank;
public TMPro.TMP_Text playerHealth;
public TMPro.TMP_Text playerCoins;
public TMPro.TMP_Text currentQuestName;
public TMPro.TMP_Text currentQuestTask;
public override void Initialize()
{
}
void PopulateGameHUD_Data()
{
}
public void OnBtnPanelSettingClicked()
{
UI_Manager.Instance.OpenPanel<Panel_Settings>();
}
public void OnBtnPanelInventoryClicked()
{
UI_Manager.Instance.OpenPanel<Panel_Inventory>();
}
public void OnBtnAttackPressed()
{
TWS_Delegates.TriggerPlayerAnimationTriggeredFromUI("PlayerAttack");
}
}