private void OnPassportButtonPressed() { OnPassport?.Invoke(userId); currentPlayerId.Set(userId); Hide(); AudioScriptableObjects.dialogOpen.Play(true); }
private void PlayerClicked() { if (model == null) { return; } currentPlayerInfoCardId.Set(((AvatarModel)model).id); }
public void CloseCard() { if (currentPlayerId != null) { if (currentPlayerId.Get() != null) { AudioScriptableObjects.dialogClose.Play(true); } } currentPlayerId.Set(null); }
private void PlayerClicked() { currentPlayerInfoCardId.Set(model?.id); }
public void CloseCard() { currentPlayerId.Set(null); }