コード例 #1
0
 private void SetPlayerHealth()
 {
     if (playerHealthManager)
     {
         playerHealthManager.SetPlayerHealth(playerHealth);
         SetLifeBarUI();
     }
     else
     {
         Debug.LogWarning("Atencao, verifique se o metodo <setReferences> foi chamado!");
     }
 }