docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetProperties

    GetProperties(EntityList, string, string)

    Get the property value on entities (if the property is not set on an entity, defaultValue is returned)

    Declaration
    public StringList GetProperties(EntityList entities, string propertyName, string defaultValue = "")
    Parameters
    Type Name Description
    EntityList entities

    List of entities

    string propertyName

    The property name

    string defaultValue

    Default value to return if the property does not exist on an entity

    Returns
    Type Description
    StringList
    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)