Exemplo n.º 1
0
	/* Deletes a texture from the server */
	private IEnumerator Delete()
	{
		 ES2Web web = new ES2Web(url, CreateSettings());
	      
	    // Delete our Texture and wait for confirmation.
	    yield return StartCoroutine(web.Delete());
	      
	    if(web.isError)
	        Debug.LogError(web.errorCode + ":" + web.error);
	}
Exemplo n.º 2
0
    /* Deletes a texture from the server */
    private IEnumerator Delete()
    {
        ES2Web web = new ES2Web(url, CreateSettings());

        // Delete our Texture and wait for confirmation.
        yield return(StartCoroutine(web.Delete()));

        if (web.isError)
        {
            Debug.LogError(web.errorCode + ":" + web.error);
        }
    }