void Export_Google(eSpreadsheetUpdateMode UpdateMode) { StopConnectionWWW(); LanguageSource source = ((LanguageSource)target); mConnection_WWW = source.Export_Google_CreateWWWcall(UpdateMode); if (mConnection_WWW == null) { OnExported_Google(string.Empty, "WebPlayer can't contact Google"); } else { mConnection_Callback = OnExported_Google; EditorApplication.update += CheckForConnection; mConnection_Text = "Uploading spreadsheet"; //mConnection_TimeOut = Time.realtimeSinceStartup + 10; } }