Summary
[Editor-Only, Internal]
    Scans your project for all 
		UnityEditor.Animations.AnimatorController assets to gather the hashes of all states and
    parameters then procedurally generates a script containing constants wrapper methods for each of them.
    - Assembly
 - Weaver
.dll  - Namespace
 - Weaver
.Editor .Procedural  - Interfaces
 - Base Types
 
							graph BT
	Type-->Base0["SimpleScriptBuilder"]
	click Base0 "/weaver/api/Weaver.Editor.Procedural/SimpleScriptBuilder"
	Base0-->Base1["ScriptBuilder"]
	click Base1 "/weaver/api/Weaver.Editor.Procedural.Scripting/ScriptBuilder"
	Base1-->Base2["NamespaceBuilder"]
	click Base2 "/weaver/api/Weaver.Editor.Procedural.Scripting/NamespaceBuilder"
	Base2-->Base3["ElementBuilder"]
	click Base3 "/weaver/api/Weaver.Editor.Procedural.Scripting/ElementBuilder"
	Base3-->Base4["Object"]
	Type-.->Interface0["IElementBuilderGroup"]
	click Interface0 "/weaver/api/Weaver.Editor.Procedural.Scripting/IElementBuilderGroup"
	Type["AnimationsScriptBuilder"]
class Type type-node
						
					Syntax
public sealed class AnimationsScriptBuilder : SimpleScriptBuilder, IElementBuilderGroup
			Constructors
| Name | Summary | 
|---|---|
| Animations | 
									Creates a new Weaver.Editor.Procedural.AnimationsScriptBuilder. | 
							
Fields
| Name | Constant Value | Summary | 
|---|---|---|
| Default | 
								
									 
    The default delegate to use to build the XML comment for this element.
    Assigned using the return value of  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.GetDefaultCommentBuilder.
    Inherited from ElementBuilder 
								 | 
							|
| Elements | 
									 
    The members to build in this type, including  
											Weaver.Editor.Procedural.Scripting.TypeBuilders for any nested types.
    Inherited from NamespaceBuilder 
								 | 
							|
| GeneratorMethod | 
									 The method used to generate the  
											Weaver.Editor.Procedural.SimpleScriptBuilder.ProceduralAsset.Inherited from SimpleScriptBuilder 
								 | 
							
Properties
| Name | Value | Summary | 
|---|---|---|
| CommentBuilder | Action | 
								
									 
    This delegate is used to append the XML comment for this element. By default it will simply append the  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.NameSource.
    Inherited from ElementBuilder 
								 | 
							
| Compilation | 
								int | 
									 
    The index in  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.CompilationSymbols of the symbol in which this element will be declared, I.E. #if SYMBOL.
    Inherited from ElementBuilder 
								 | 
							
| CompilationSymbols | string[] | 
									 
    The conditional compilation symbols used in #if regions in the procedural script.
    The indices of these values are referenced by  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.CompilationSymbolIndex.
    Inherited from ScriptBuilder 
								 | 
							
| DisableAllWarnings | bool | 
									 
    If true,  
											#pragma warning disable will be put at the top of the script to disable all warnings.
    Default true.
    Inherited from SimpleScriptBuilder 
								 | 
							
| Enabled | bool | 
									 Indicates whether this script should be generated. 
								 | 
							
| ExistingType | CachedTypeInfo | 
									 The information about an existing type with the same name as this script (if any). 
											Inherited from SimpleScriptBuilder 
								 | 
							
| FullName | string | 
									 
    Returns the full name of this element, including its  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Parent (and any types and namespaces it
    is nested inside).
    Inherited from ElementBuilder 
								 | 
							
| HasBuildErrors | bool | 
									 
    Returns true if any errors occurred during the last call to  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.PrepareToBuild(System.Boolean,System.Boolean@).
    Inherited from ScriptBuilder 
											static 
								 | 
							
| HasExistingMember | bool | 
									 
    Returns true if this element is associated with an existing  
											System.Reflection.MemberInfo.
    Inherited from ElementBuilder 
								 | 
							
| IsFallbackName | bool | 
									 
    Indicates whether the current  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Name of this element is the primary name derived from the
    Weaver.Editor.Procedural.Scripting.ElementBuilder.NameSource. A value of false means that there was a name conflict between this element and
    another, and the Weaver.Editor.Procedural.Scripting.ElementBuilder.Name was re-derived using Weaver.Editor.Procedural.Scripting.ScriptBuilder.GetFallbackMemberName(System.String,System.String).
    Inherited from ElementBuilder 
								 | 
							
| LogBuildErrors | bool | 
									 If true, errors encountered while building the script will be logged. Default true. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| MemberType | MemberTypes | 
									 Namespaces are not members, so this property returns  
											System.Reflection.MemberTypes.Custom.Inherited from NamespaceBuilder 
								 | 
							
| Name | string | 
									 
    The actual  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Name of this element.
    This value is derived from Weaver.Editor.Procedural.Scripting.ElementBuilder.NameSource during Weaver.Editor.Procedural.Scripting.ElementBuilder.PrepareToBuild(System.Boolean,System.Boolean@).
    Inherited from ElementBuilder 
								 | 
							
| NameSource | string | 
									 The source string which will be used to determine the actual  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Name of this element.Inherited from ElementBuilder 
								 | 
							
| Namespace | string | 
									 The namespace to put the root type in. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| Obsolete | 
								string | 
									 
    The message given to the [ 
											System.ObsoleteAttribute] constructor to be displayed whenever an
    obsolete member is referenced.
    Inherited from ScriptBuilder 
								 | 
							
| Obsolete | 
								bool | 
									 
    If true, obsolete members will be contained in a #if UNITY_EDITOR region to ensure that the user removes
    all references to them prior to compiling a build (because otherwise they would get compile errors). By
    default this property returns true.
     
											Inherited from ScriptBuilder 
								 | 
							
| Parent | IElementBuilderGroup | 
									 The builder of the type in which this element will be declared. 
											Inherited from ElementBuilder 
								 | 
							
| ProceduralAsset | ProceduralAsset | 
									 The  
											Weaver.Editor.Procedural.SimpleScriptBuilder.ProceduralAsset which uses this builder.Inherited from SimpleScriptBuilder 
								 | 
							
| RegionIndex | int | 
									 
    The index in  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.Regions of the region in which this element will be declared, I.E. #region Region Name.
    Inherited from ElementBuilder 
								 | 
							
| Regions | string[] | 
									 
    The names used in #regions in the procedural script.
    The indices of these values are referenced by  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.RegionIndex.
    Inherited from ScriptBuilder 
								 | 
							
| Retain | 
								bool | 
									 
    If true: the generated script will include all previous members that have been removed and give them
    [ 
											System.ObsoleteAttribute].
    Inherited from SimpleScriptBuilder 
								 | 
							
| RootType | TypeBuilder | 
									 The builder for the root type of the script. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| ScriptBuilder | ScriptBuilder | 
									 
    The  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder in which this element is currently being used.
    Inherited from ElementBuilder 
								 | 
							
| Script | 
								bool | 
									 Returns true if the target file exists but its root type cannot be retrieved via reflection. 
											Inherited from SimpleScriptBuilder 
								 | 
							
Methods
| Name | Value | Summary | 
|---|---|---|
| AddHashConstant | 
								FieldBuilder | 
									 Adds a  
											const int field containing the `hash` value.static 
								 | 
							
| AddMember | 
								T | 
									 
    Adds the specified `member` to the  
											Weaver.Editor.Procedural.Scripting.NamespaceBuilder.Elements list and returns it.
    Inherited from NamespaceBuilder 
								 | 
							
| AddNamespace | 
								NamespaceBuilder | 
									 
    Get a  
											Weaver.Editor.Procedural.Scripting.ConstructorBuilder from the object pool and initialize it with the specified parameters as a
    member of this namespace.
    Inherited from NamespaceBuilder 
								 | 
							
| AddType | 
								TypeBuilder | 
									 
    Get a  
											Weaver.Editor.Procedural.Scripting.TypeBuilder from the object pool and initialize it with the specified parameters as a
    member of this namespace.
    Inherited from NamespaceBuilder 
								 | 
							
| AddType | 
								TypeBuilder | 
									 
    Get a  
											Weaver.Editor.Procedural.Scripting.TypeBuilder from the object pool and initialize it with the specified parameters as a
    member of this namespace.
    Inherited from NamespaceBuilder 
								 | 
							
| AddType | 
								TypeBuilder | 
									 
    Get a  
											Weaver.Editor.Procedural.Scripting.TypeBuilder from the object pool and initialize it with the specified parameters as a
    member of this namespace.
    Inherited from NamespaceBuilder 
								 | 
							
| AppendDescription | 
								void | 
									 
    Appends a description of this namespace and its  
											Weaver.Editor.Procedural.Scripting.NamespaceBuilder.Elements.
    Inherited from NamespaceBuilder 
								 | 
							
| AppendFullName | 
								void | 
									 
    Appends the full name of this element, including its  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Parent (and any types and namespaces it
    is nested inside).
    Inherited from ElementBuilder 
								 | 
							
| AppendHeader | 
								void | 
									 Appends a C# XML comment using the  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.CommentBuilder.Inherited from ElementBuilder 
								 | 
							
| AppendScript | 
								void | 
									 Appends the declaration of the elements of this script in C# code to the specified `text`. 
								 | 
							
| AppendScript | 
								void | 
									 
    Appends the declaration of this namespace in C# code to the specified `text`.
     
											Inherited from NamespaceBuilder 
								 | 
							
| BuildScript | 
								bool | 
									 If  
											Weaver.Editor.Procedural.SimpleScriptBuilder.ShouldBuild returns true, this method calls Weaver.Editor.Procedural.SimpleScriptBuilder.AppendScript(System.Text.StringBuilder).Inherited from SimpleScriptBuilder 
								 | 
							
| DetermineMemberName | 
								void | 
									 
    Uses the specified  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.GetMemberName(System.String,System.String,System.Boolean@) to determine the Weaver.Editor.Procedural.Scripting.ElementBuilder.Name of this element.
    Inherited from ElementBuilder 
								 | 
							
| GatherScriptDetails | 
								void | 
									 Gather the animation assets in the project and build the script structure. 
								 | 
							
| Generate | 
								void | 
									 
    Generates the  
											Weaver.Editor.Procedural.SimpleScriptBuilder.ProceduralAsset which uses this script builder.
    Inherited from SimpleScriptBuilder 
								 | 
							
| Get | 
								NamespaceBuilder | 
									 
    Get a  
											Weaver.Editor.Procedural.Scripting.NamespaceBuilder from the object pool and initialize it with the specified parameters.
    Inherited from NamespaceBuilder 
											static 
								 | 
							
| Get | 
								NamespaceBuilder | 
									 
    Get a  
											Weaver.Editor.Procedural.Scripting.NamespaceBuilder from the object pool and initialize it with the specified parameters.
    Inherited from NamespaceBuilder 
											static 
								 | 
							
| GetBuilderInstance | 
								SimpleScriptBuilder | 
									 Returns an instance of the specified  
											Weaver.Editor.Procedural.SimpleScriptBuilder type.Inherited from SimpleScriptBuilder 
											static 
								 | 
							
| Get | 
								int | 
									 
    Returns the number of  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.CompilationSymbols .
    Inherited from ScriptBuilder 
								 | 
							
| Get | 
								string | 
									 
    Calls the HashToString method in the currently compiled Animations class.
     
								 | 
							
| Get | 
								Action | 
								
									 Namespaces are not generally allowed to have comments. 
											Inherited from NamespaceBuilder 
								 | 
							
| GetDescription | 
								string | 
									 
    Gets a description of this element by calling  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.ToString on it and any sub-members.
    Inherited from ElementBuilder 
								 | 
							
| Get | 
								string | 
									 
    Converts the `nameSource` into a valid member name according to the desired naming convention when the
    primary name returned by  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.GetPrimaryMemberName(System.String) caused a naming conflict.
    
    By default, this method uses Weaver.Editor.Procedural.Scripting.CSharpProcedural.ValidateMemberName(System.String,System.Boolean) with the
    `replaceWithUnderscores` parameter set to false.
    Inherited from ScriptBuilder 
								 | 
							
| GetMemberName | 
								string | 
									 
    Converts the `nameSource` into a valid member name using  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.GetPrimaryMemberName(System.String). If the name
    is the same as the `declaringTypeName`, Weaver.Editor.Procedural.Scripting.ScriptBuilder.GetFallbackMemberName(System.String,System.String) will be used instead.
    Inherited from ScriptBuilder 
								 | 
							
| GetPrimaryMemberName | 
								string | 
									 
    Converts the `nameSource` into a valid member name according to the desired naming convention.
    
    By default, this method uses  
											Weaver.Editor.Procedural.Scripting.CSharpProcedural.ValidateMemberName(System.String,System.Boolean).
    Inherited from ScriptBuilder 
								 | 
							
| GetRegionCount | 
								int | 
									 
    Returns the number of  
											Weaver.Editor.Procedural.Scripting.ScriptBuilder.Regions .
    Inherited from ScriptBuilder 
								 | 
							
| Has | 
								bool | 
									 Returns true if there are any obsolete members in the existing root type. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| Initialize | 
								void | 
									 
    Assigns the specified parameters to this element and determines the  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Name.
    Inherited from ElementBuilder 
								 | 
							
| IsExistingMember | 
								bool | 
									 
    Returns false because namespaces don't have any  
											System.Reflection.MemberInfo.
    Inherited from NamespaceBuilder 
								 | 
							
| LogRebuildReason | 
								void | 
									 Logs the `reason` that this script should be rebuilt. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| PrepareForReuse | 
								void | 
									 
    Reset this type and call  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.ReleaseToPool on all its members so that it can be
    reused without releasing this type itself to the pool.
    Inherited from NamespaceBuilder 
								 | 
							
| PrepareToBuild | 
								bool | 
									 
    Determines the  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Name of this type's members, attempts to resolve any naming
    conflicts, matches existing System.Reflection.MemberInfos with their appropriate members, and
    returns true if the script should be rebuilt for any reason (such as a member being added, removed, or renamed).
    Inherited from ScriptBuilder 
								 | 
							
| Rebuild | 
								void | 
									 Rebuilds the script without any obsolete members. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| Release | 
								void | 
									 
    Releases all elements currently in this namespace back to their respective pools.
     
											Inherited from NamespaceBuilder 
								 | 
							
| ReleaseToPool | 
								void | 
									 Resets this element and adds it to its object pool to be reused later. 
											Inherited from NamespaceBuilder 
								 | 
							
| Reset | 
								void | 
									 Resets all of the fields and properties of this element to their default values. 
											Inherited from NamespaceBuilder 
								 | 
							
| SetName | 
								void | 
									 Sets the  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.Name and Weaver.Editor.Procedural.Scripting.ElementBuilder.NameSource.Inherited from ElementBuilder 
								 | 
							
| ShouldBuild | 
								bool | 
									 Indicates whether the script should be rebuilt based on whether its contents need to be changed. 
											Inherited from SimpleScriptBuilder 
								 | 
							
| ToString | 
								string | 
									 
    Returns a summary of this element including its type,  
											Weaver.Editor.Procedural.Scripting.ElementBuilder.NameSource, Weaver.Editor.Procedural.Scripting.ElementBuilder.Name, and Weaver.Editor.Procedural.Scripting.ElementBuilder.FullName.
    Inherited from ElementBuilder 
								 |