void Awake() { useGUILayout = false; if (Application.platform == RuntimePlatform.IPhonePlayer) { Application.targetFrameRate = 60; } AudioListener.volume = PlayerPrefs.GetInt("volume", 50); FacebookManager.Initialize(); if (PlayerPrefs.GetInt("use_game_services", 0) > 0 ? true : false) { SocialManager.Authenticate(); } }