コード例 #1
0
        private void HandleSyncFailure(object sender, SyncFailureEvent e)
        {
            var dataset = sender as Dataset;
            Debug.Log("Sync failed for dataset : " + dataset.Metadata.DatasetName);
            Debug.LogException(e.Exception);

            statusMessage = "Syncing to CognitoSync Cloud failed";
        }
コード例 #2
0
 private void HandleSyncFailure(object sender, SyncFailureEvent e)
 {
     var dataset = sender as Dataset;
     Debug.LogError("Sync failed for dataset '" + dataset.Metadata.DatasetName + "'");
     Debug.LogError(e.Exception.GetType() + ": " + e.Exception.Message);
     GetComponent<CharacterList>().enabled = true; //Enable GUI
 }