示例#1
0
 /// <summary>
 /// Shows the name and further information about the player.
 /// </summary>
 public void ChangePlayerStateText(string playerName, PlayerState.AgeEnum age, string description)
 {
     if (playerStateText != null)
     {
         playerStateText.text = $"<b><i>{playerName}</i></b>\n<i>{age} Age</i>\n{description}";
     }
 }
 private bool ReachedAge(PlayerState.AgeEnum age) => PlayerState.Age >= age;