// Use this for initialization void Start() { SetBuildObjectsActive(); GameUI activeGame = IS_CASINO_BUILD ? casinoGameDemo : socialGameDemo; loginScreen.SetActive(!activeGame.USE_BAKED_LOGIC); resSwitcher.ConfigureForResolution(IS_CASINO_BUILD); if(activeGame.USE_BAKED_LOGIC) { Debug.Log ("Parsing demo stuff on " + activeGame.name); Application.targetFrameRate = 60; parser = new MachineParser(jsonText.text); machineInfo = parser.machineInfo; machineInfo.SortPayouts(); DemoSpinner.sm_info = machineInfo; ContentManager.Instance.Player = new Player(); activeGame.ResetWithResponse(new SelectGameResponse(machineInfo)); activeGame.UpdateLabels(); } }