Search Results for

    Show / Hide Table of Contents

    Class Utilities

    Inheritance
    Object
    Utilities
    Namespace: JoshAaronMiller.INaturalist
    Assembly: cs.temp.dll.dll
    Syntax
    public static class Utilities

    Methods

    LoadImageFromPath(String, GameObject, Action)

    Loads an image from a local file or URL into the texture of a GameObject's RawImage component. Creates a RawImage component if none exists.

    Declaration
    public static IEnumerator LoadImageFromPath(string fullPath, GameObject loadTo, Action callback = null)
    Parameters
    Type Name Description
    String fullPath

    The full local path or URL.

    GameObject loadTo

    The GameObject to load the image into.

    Action callback

    Optionally, a void function to call once the image is loaded successfully.

    Returns
    Type Description
    IEnumerator
    In This Article
    Back to top Documentation