Exemplo n.º 1
0
    public void Awake()
    {
        playerStatistics.hpMax = playerStatistics.HP;
        playerUI.ChangeCharactorSkillButton(playerCharactor);

        healthBar.transform.GetChild(0).GetComponent <Text>().text = playerStatistics.HP.ToString() + "/" + playerStatistics.hpMax.ToString();
        Load();
    }