Version 3.3.0.1

AttributeExampleUtilities class

Namespace: Sirenix.OdinInspector.Editor.Examples
Assembly: Sirenix.OdinInspector.Editor
public static class AttributeExampleUtilities
Inheritance
  • System.Object
  • AttributeExampleUtilities

Methods

BuildMenuTree(OdinMenuTree)
public static void BuildMenuTree(OdinMenuTree tree)
Parameters
OdinMenuTree tree

GetAllOdinAttributes()
public static IEnumerable<Type> GetAllOdinAttributes()
Returns
System.Collections.Generic.IEnumerable<System.Type>

GetAttributeCategories(Type)
public static IEnumerable<string> GetAttributeCategories(Type attributeType)
Parameters
System.Type attributeType

Returns
System.Collections.Generic.IEnumerable<System.String>

GetAttributeDescription(Type)
public static string GetAttributeDescription(Type attributeType)
Parameters
System.Type attributeType

Returns
System.String

GetAttributeExampleInfos(Type)
public static AttributeExampleInfo[] GetAttributeExampleInfos(Type attributeType)
Parameters
System.Type attributeType

GetExample(Type)
public static OdinAttributeExampleItem GetExample(Type attributeType)
Parameters
System.Type attributeType

GetExample<T>()
public static OdinAttributeExampleItem GetExample<T>()
    where T : Attribute
Type Parameters
T

GetIsEnterprise(Type)
public static bool GetIsEnterprise(Type attributeType)
Parameters
System.Type attributeType

Returns
System.Boolean

GetOnlineDocumentationUrl(Type)
public static string GetOnlineDocumentationUrl(Type attributeType)
Parameters
System.Type attributeType

Returns
System.String