void Start() { #if (UNITY_IPHONE || UNITY_ANDROID) if (PlayerPrefs.GetInt("auto_login", 1) == 1){ //Attempt to login to the service Login(); } #endif }