void Start() { myMuzzleyApp = new MuzzleyApp(); myMuzzleyApp.ConnectApp(OnActivityReady, "ddb0a998759d3469", null); state = STATE.NENHUM_JOGADOR_ENTROU; fluxo = FLUXO.ESPERANDO_JOGADORES; idNovoCarro = null; participantes = new Dictionary<string, BumperCarMuzzley>(); showQr = false; actionView = new Bounds(gameObject.transform.position, new Vector3(1,1,1)); esperandoJogadorObj = (GameObject)Instantiate(esperandoJogadorPrefab); qrcodeGuiTexture2.enabled = true; moedasObj = (GameObject)Instantiate(moedasPrefab); jogadoresMax = 6; CriarPosicoesNaArena(); // motion.Add("c", "deviceMotion"); // // motionParams.Add("step", 5); // motionParams.Add("pitch", true); // // motion.Add("p", motionParams); }
void Start() { myMuzzleyApp = new MuzzleyApp(); myMuzzleyApp.ConnectApp(OnActivityReady, "56cb91d9151811b6", null); gamePadListeners = new Dictionary<string, CoreGamePadListener>(); setMotionParams (); }