public PlayerDetailInput() { PlayerDetail = CreateInstance <PlayerDetail>(); }
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; }