docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetTexture

    SetTexture(string, Texture)

    Set texture property.

    Declaration
    public void SetTexture(string propertyName, Texture value)
    Parameters
    Type Name Description
    string propertyName

    Property name.

    Texture value

    Property value.

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