docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetStaticProperty

    TryGetStaticProperty(string, out Property)

    Try to get the value of the static property with the given propertyKey.

    Declaration
    public bool TryGetStaticProperty(string propertyKey, out Property property)
    Parameters
    Type Name Description
    string propertyKey

    Identifier of the static property to get the value of.

    Property property

    The value of the searched static property, if found.

    Returns
    Type Description
    bool

    Returns true if a static property with the given propertyKey exists on this item; returns false otherwise.

    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)