docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddCustomProperty

    AddCustomProperty(uint, string, string, PropertyType)

    Add a custom property to an entity that support custom properties

    Declaration
    public void AddCustomProperty(uint entity, string name, string value = "", PropertyType type = PropertyType.STRING)
    Parameters
    Type Name Description
    uint entity

    An entity that support custom properties

    string name

    Name of the custom property

    string value

    Value of the custom property

    PropertyType type

    Type of the custom property

    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)