docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddCustomProperties

    AddCustomProperties(EntityList, StringList, StringList, PropertyTypeList)

    Add multiple custom property to entities that support custom properties

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void AddCustomProperties(EntityList entities, StringList names, StringList values = null, PropertyTypeList types = null)
    Parameters
    Type Name Description
    EntityList entities

    Entities that support custom properties

    StringList names

    Name of the custom property for each entity

    StringList values

    Value of the custom property for each entity

    PropertyTypeList types

    Type of the custom property for each entity

    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)