DEG-144-체력0탈진-연출-추가이전에 로딩패널 구현 #39

Merged
heain0122 merged 4 commits from DEG-144-체력0탈진-연출-추가 into main 2025-05-12 14:56:56 +00:00
3 changed files with 7 additions and 3 deletions
Showing only changes of commit cd6f53e580 - Show all commits

BIN
Assets/LIN/ReHousing Copy.unity (Stored with Git LFS)

Binary file not shown.

View File

@ -17,6 +17,7 @@ public class InteractionController : MonoBehaviour
private void Start()
{
PlayerStats.Instance.OnStatsChanged += UpdateStat;
PlayerStats.Instance.OnWorked += SuddenAfterWorkEventHappen;
}
@ -114,4 +115,8 @@ public class InteractionController : MonoBehaviour
#endregion
private void UpdateStat(PlayerStats.StatsChangeData statData)
{
Debug.Log(statData.Health);
}
}

View File

@ -75,7 +75,6 @@ public class HousingCanvasController : MonoBehaviour
#region
public void ShowSuddenEventPanel(string actText, Action onSuddenButtonPressed)
{
Debug.Log("call evenet panel show");
suddenPanel.SetActive(true);
suddenText.text = actText;
OnSuddenButtonPressed += onSuddenButtonPressed;