docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetShaderGUID

    GetShaderGUID(ShaderPathID)

    Returns a GUID for a URP shader from Shader Path ID.

    Declaration
    public static string GetShaderGUID(ShaderPathID id)
    Parameters
    Type Name Description
    ShaderPathID id

    ID of shader path.

    Returns
    Type Description
    string

    GUID for the shader.

    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)