docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasStaticProperty

    HasStaticProperty(string)

    Check if this item has a static property with the given propertyKey.

    Declaration
    public bool HasStaticProperty(string propertyKey)
    Parameters
    Type Name Description
    string propertyKey

    The identifier of the static property to look for.

    Returns
    Type Description
    bool

    true if this item has a static property with the given propertyKey; false otherwise.

    Exceptions
    Type Condition
    ArgumentException

    Thrown if the given propertyKey is null, empty, or whitespace.

    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)