Class TagAttribute | Kinematica | 0.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class TagAttribute

    Inheritance
    Object
    Attribute
    AnnotationAttribute
    TagAttribute
    Inherited Members
    AnnotationAttribute.m_DisplayName
    AnnotationAttribute.m_Color
    AnnotationAttribute.GetColor(Type)
    AnnotationAttribute.GetDisplayName<T>(Type)
    AnnotationAttribute.GetTypesWithDuplicateDescription(IEnumerable<Type>, AnnotationAttribute.GetDisplayNameDelegate)
    AnnotationAttribute.GetFullDisplayName(HashSet<Type>, Type, String)
    Namespace: Unity.Kinematica.Editor
    Syntax
    public class TagAttribute : AnnotationAttribute, _Attribute

    Constructors

    TagAttribute(String, String)

    Declaration
    public TagAttribute(string displayName, string color)
    Parameters
    Type Name Description
    String displayName
    String color

    Fields

    k_TypesWithDuplicates

    Declaration
    protected static HashSet<Type> k_TypesWithDuplicates
    Field Value
    Type Description
    HashSet<Type>

    k_UnknownTagType

    Declaration
    public const string k_UnknownTagType = "Unknown Tag Type"
    Field Value
    Type Description
    String

    Methods

    FindTypeByPayloadArgumentType(Type)

    Declaration
    public static Type FindTypeByPayloadArgumentType(Type payloadArgType)
    Parameters
    Type Name Description
    Type payloadArgType
    Returns
    Type Description
    Type

    GetAllDescriptions()

    Declaration
    public static List<string> GetAllDescriptions()
    Returns
    Type Description
    List<String>

    GetDescription(Type)

    Declaration
    public static string GetDescription(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    String

    GetTypes()

    Declaration
    public static IEnumerable<Type> GetTypes()
    Returns
    Type Description
    IEnumerable<Type>

    GetVisibleTypesInInspector()

    Declaration
    public static IEnumerable<Type> GetVisibleTypesInInspector()
    Returns
    Type Description
    IEnumerable<Type>

    HasTagAttribute(Type)

    Declaration
    public static bool HasTagAttribute(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    IsTagType(Type)

    Declaration
    public static bool IsTagType(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    TypeFromName(String)

    Declaration
    public static Type TypeFromName(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Type
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023