예제 #1
0
 void Update()
 {
     //Debug.Log("Player health: " + CurrentHealth.Value);
     if (CurrentHealth.Value <= 0)
     {
         dmgFeedback.BloodSpawn();
         Die();
     }
 }
예제 #2
0
 void Update()
 {
     if (m_Health <= 0)
     {
         dmgFeedback.BloodSpawn();
         Die();
     }
 }