Version 2.1.0.0

CodeGenerationUtilities class

Namespace: Sirenix.Utilities.Editor.CodeGeneration
Assembly: Sirenix.Utilities.Editor
public static class CodeGenerationUtilities
Not yet documented.
Inheritance
  • System.Object
  • CodeGenerationUtilities

Fields

UserScriptAssemblies
Not yet documented.
public static readonly Dictionary<string, UserAssemblyType? > UserScriptAssemblies

Methods

PrintAsParameters(ParameterInfo[], Boolean, Boolean)
Not yet documented.
public static string PrintAsParameters(ParameterInfo[] parameters, bool includeBraces = false, bool isExtension = false)
Parameters
System.Reflection.ParameterInfo[] parameters

System.Boolean includeBraces

System.Boolean isExtension

Returns
System.String

PrintAsParameters(Type[], String[], Boolean, Boolean)
Not yet documented.
public static string PrintAsParameters(Type[] types, string[] names, bool includeParentheses = false, bool isExtension = false)
Parameters
System.Type[] types

System.String[] names

System.Boolean includeParentheses

System.Boolean isExtension

Returns
System.String

TypeIsFromUnityAssembly(Type)
Not yet documented.
public static bool TypeIsFromUnityAssembly(Type type)
Parameters
System.Type type

Returns
System.Boolean

TypeIsFromUserScriptAssembly(Type)
Not yet documented.
public static bool TypeIsFromUserScriptAssembly(Type type)
Parameters
System.Type type

Returns
System.Boolean

TypeIsFromUserScriptAssembly(Type, out Nullable<UserAssemblyType>)
Not yet documented.
public static bool TypeIsFromUserScriptAssembly(Type type, out UserAssemblyType? assemblyType)
Parameters
System.Type type

System.Nullable<UserAssemblyType> assemblyType

Returns
System.Boolean

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.