Search Results for

    Show / Hide Table of Contents

    Class UnityTextureLoader

    Adapter class which loads textures using Unity's WebRequestsTexture

    Inheritance
    object
    UnityTextureLoader
    Implements
    IContentLoader<Texture2D>
    Namespace: i5.Toolkit.Core.Utilities.ContentLoaders
    Assembly: cs.temp.dll.dll
    Syntax
    public class UnityTextureLoader : IContentLoader<Texture2D>

    Methods

    LoadAsync(string)

    Loads the texture at the given URI using Unity's built-in methods

    Declaration
    public Task<WebResponse<Texture2D>> LoadAsync(string uri)
    Parameters
    Type Name Description
    string uri

    The uri where the texture is stored

    Returns
    Type Description
    Task<><WebResponse<Texture2D>>

    Returns a WebResponse with the results of the web request

    Implements

    IContentLoader<T>
    In This Article
    Back to top i5 Toolkit Documentation