docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsValid

    IsValid()

    Check if the material is set and if it is different than the default one

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool

    True: the material is set and is not the default one

    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)