Files
Genesis_Unity/Assets/02_Scripts/Player/Status/PlayerHealth.cs

19 lines
326 B
C#

using UnityEngine;
public class PlayerHealth : Health
{
private PlayerStat _pstat;
public int currentHp;
void Start()
{
_pstat = GetComponent<PlayerStat>();
//currentHp = _pstat.MaxHp; // 스태틱 데이터를 가져와 초기화
}
public void TakeDamage(int damage)
{
}
}