Released 2020-11-13
When upgrading to a newer version of Weaver, you must delete any previous version from your project first.
See the Weaver v6.0 Upgrade Guide if you are upgrading from a version older than that.
Changes
- Reorganised Editor-Only methods in WeaverUtilitiesandWeaverEditorUtilities.
- Improved the Weaver.Editor.Procedural.Scriptingsystem:- Procedural scripts now use a #pragmato disable all warnings unlessSimpleScriptBuilder.DisableAllWarningsis set to false.
- Added ControllerStateGeneratorfor generating AnimancerControllerStatescripts based on an Animator Controller and as an example of how the procedural scripting system can be used.
- Added TypeNamefor situations which can take aType,TypeBuilder, or raw strings to specify a type and namespace.
- Added ParameterBuilderandParameterModifierto simplify procedural method parameters.
- Added ConstructorBuilder.AppendBaseParameters.
- Added AccessModifiers.Override,New, andVirtual.
- Added CSharpProcedural.AppendStringLiteral.
- Changed CSharpProcedural.IsValidInMemberNameto usechar.IsLetterOrDigitinstead of aswitchthat manually tries to cover all invalid symbols.
- Removed MethodBuilder.IsSingleLineand changed theBodyBuilderto automatically determine whether to use an expression bodied method or not. Same forPropertyBuilderandConstructorBuilder.
 
- Procedural scripts now use a