Пример #1
0
    public IEnumerator ResetPlayer()
    {
        yield return(new WaitForSeconds(0.5f));

        playerLife         = 150;
        healthBar.hitpoint = 150;
        healthBar.UpdateHealthBar();
    }