docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetProperty

    GetProperty(uint, string)

    Get a property value as String on an entity (error if the property does not exist on the entity)

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public string GetProperty(uint entity, string propertyName)
    Parameters
    Type Name Description
    uint entity

    The entity

    string propertyName

    The property name

    Returns
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)