Exemple #1
0
 public PlayerDetailInput()
 {
     PlayerDetail = CreateInstance <PlayerDetail>();
 }
Exemple #2
0
 public PlayerDetailInput(PlayerDetail playerDetail)
 {
     PlayerDetail = playerDetail;
 }
 /// <summary>
 /// This method should be called before any other method.
 /// </summary>
 /// <param name="playerDetail"></param>
 public void Setup(PlayerDetail playerDetail)
 {
     _playerDetail = playerDetail;
     _labelUI.text = _playerDetail.DisplayName;
 }