Ejemplo n.º 1
0
    public void RefreshPlayerInfo(Player player)
    {
        MorningText.text = "Charisma of this Character is: " + Mathf.RoundToInt(player.Charisma);
        NoonText.text    = "Strength of this Character is: " + Mathf.RoundToInt(player.Strength);
        EveText.text     = "Intelligence of this Character is: " + Mathf.RoundToInt(player.Intelligence);

        MorningText.text = JSONReader.GetDeathText(new PlayerController.Cause(DatabaseReader.GetItem <Trap>(Traps_Enum.BearTrap)));
        NoonText.text    = "Strength of this Character is: " + Mathf.RoundToInt(player.Strength);
        EveText.text     = "Intelligence of this Character is: " + Mathf.RoundToInt(player.Intelligence);

        NightText.text = player.NeedQueue.ToString();
    }