docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DataAttribute

    Attribute used to annotate data types that are used as elements in the execution graph

    Inheritance
    object
    Attribute
    DataAttribute
    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    [AttributeUsage(AttributeTargets.Struct)]
    public class DataAttribute : Attribute
    Remarks
    [Data("Trajectory", "#2A3756")]
    public struct Trajectory
    {
        ...
    }

    Constructors

    Name Description
    DataAttribute(string, string, DataFlags)

    Constructs a new data attribute with the name and flags passed as argument.

    DataAttribute(string, DataFlags)

    Construct a new data attribute with the name and flags passed as argument.

    See Also

    DataType
    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)