public void LoadLocalTextureAsync(string path, LoadTextureCallback callback, ProgressCallback progress = null) { throw new NotImplementedException(); }
public static void LoadLocalTextureAsync(this IUsesCloudDataStorage user, string path, LoadTextureCallback callback, ProgressCallback progress = null) { user.provider.LoadLocalTextureAsync(path, callback, progress); }
public TextureRequest(LoadTextureCallback callback, ProgressCallback progress = null) : base(progress) { m_Callback = callback; }
public static void CloudLoadTextureAsync(this IUsesCloudDataStorage user, string key, LoadTextureCallback callback, ProgressCallback progress = null) { user.provider.CloudLoadTextureAsync(key, callback, progress); }
/// <summary> /// Load a texture asynchronously from local storage /// </summary> /// <param name="user">The functionality user</param> /// <param name="path">Path to the texture. </param> /// <param name="callback">A callback which returns whether the operation was successful, as well as the /// response payload if it was. If the operation failed, the byte array will contain the error string</param> /// <param name="progress">Called every frame while the request is in progress with two 0-1 values indicating /// upload and download progress, respectively</param> /// <param name="timeout">The timeout duration (in seconds) for this request</param> /// <returns>A handle to the request which can be used to cancel it</returns> public static RequestHandle LoadLocalTextureAsync(this IUsesCloudStorage user, string path, LoadTextureCallback callback, ProgressCallback progress = null, int timeout = CloudStorageDefaults.DefaultTimeout) { return(user.provider.LoadLocalTextureAsync(path, callback, progress, timeout)); }