docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LoadImage

    LoadImage(string)

    Loads the image.

    Declaration
    public static Texture2D LoadImage(string text)
    Parameters
    Type Name Description
    string text

    The image file name.

    Returns
    Type Description
    Texture2D

    Texture2D from file name.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)