Class TagAttribute
Syntax
public class TagAttribute : AnnotationAttribute, _Attribute
Constructors
TagAttribute(String, String)
Declaration
public TagAttribute(string displayName, string color)
Parameters
Fields
k_TypesWithDuplicates
Declaration
protected static HashSet<Type> k_TypesWithDuplicates
Field Value
k_UnknownTagType
Declaration
public const string k_UnknownTagType = "Unknown Tag Type"
Field Value
Methods
FindTypeByPayloadArgumentType(Type)
Declaration
public static Type FindTypeByPayloadArgumentType(Type payloadArgType)
Parameters
Type |
Name |
Description |
Type |
payloadArgType |
|
Returns
GetAllDescriptions()
Declaration
public static List<string> GetAllDescriptions()
Returns
GetDescription(Type)
Declaration
public static string GetDescription(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetTypes()
Declaration
public static IEnumerable<Type> GetTypes()
Returns
GetVisibleTypesInInspector()
Declaration
public static IEnumerable<Type> GetVisibleTypesInInspector()
Returns
HasTagAttribute(Type)
Declaration
public static bool HasTagAttribute(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
IsTagType(Type)
Declaration
public static bool IsTagType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
TypeFromName(String)
Declaration
public static Type TypeFromName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns