private void OnJoin(MuzzleyAppParticipant muzzley_participant) { muzzley_participant.ChangeWidget(MuzzleyConstants.Widgets.GAMEPAD, motion); idNovoCarro = muzzley_participant.Id; nomeDoUsuario = muzzley_participant.Name; fotoUrl = muzzley_participant.PhotoUrl; state = STATE.JOGADOR_ENTROU; //print(muzzley_participant.Id); }
private void OnJoin(MuzzleyAppParticipant muzzley_participant) { // muzzley_participant.ChangeWidget(MuzzleyConstants.Widgets.GAMEPAD, motion); muzzley_participant.ChangeWidget(MuzzleyConstants.Widgets.GAMEPAD, new Dictionary<string, object>() { {SECTOR, 45}, {INTENSITY_STEPS, 4}, {MuzzleyConstants.Widgets.Params.NUMBUTTONS, 4} }); OnParticipantJoin(muzzley_participant); // OnParticipantJoin(muzzley_participant.CurrentWidget.ToString(), // muzzley_participant.CurrentWidgetParams.ToString(), // muzzley_participant.Id.ToString(), // muzzley_participant.Name.ToString(), // muzzley_participant.PhotoUrl.ToString(), // muzzley_participant.ProfileId.ToString()); }