Cloud Saving and Loading

Here we want to do some Web & Cloud saving and loading:

Debug.Log ( "Saving..." );
SaveGameWeb web = new SaveGameWeb ( "username", "password", "http://example.com" );
yield return web.Save<int> ( "score", 596 );
Debug.Log ( "Save Done" );

You can access the progress of the Upload by accessing Request uploadProgress proprty:

Debug.LogFormat ( "The Save Progress is: {0}", web.Request.uploadProgress );
Debug.LogFormat ( "The Load Progress is: {0}", web.Request.downloadProgress );

And check for errors by using IsError property:

if ( web.IsError ) {
    Debug.LogError ( web.Error );
} else {
    Debug.Log ( "Successful" );
}