ScriptBuilder Tutorial (ExampleBuilder) - Automatically generate any Unity script

Published: 07 September 2017
on channel: AiUnity
851
4

This tutorial covers the ScriptBuilder example builder, which will provide a foundation for understanding and creating builders. ScriptBuilder is available on the Unity3d asset store (http://u3d.as/CXq).

ScriptBuilder overview:
ScriptBuilder automatically generates C# scripts based upon a supplied or custom builder script. Make a custom builder that creates multiple ideal starting scripts or use it to generate a commonly used complex script. Alternatively use an existing builder like AnimatorBuilder, which probes the internal Unity Animator system to generate an Animator access script. This generated script will provide strongly typed access to your animator controller layers, states, parameters, and hash Ids using corresponding names (ie. IsIdleState(), SetSpeed(), and UpperBodyLayer.CurrentStateName()).

TagAccessBuilder creates a script that provides type safe access to the Unity Tags, and is design to work with AiUnity MultipleTags (https://www.assetstore.unity3d.com/#!... - Enables multiple tags on a gameObject). The SkeletonBuilder creates a basic starting script and is easily altered for tasks like instantiating the insanely powerful AiUnity NLog (https://www.assetstore.unity3d.com/#!...) logger. Other supplied builders include ExampleBuilder, SceneAccessBuilder and LayerAccessBuilder.

Every facet of ScriptBuilder can be configured via the intuitive and comprehensive Unity editor GUI. The GUI tracks all generated scripts so they can be updated or overwritten via the Editor GUI or file context menu. In addition a builder can be set to automatically regenerate its script whenever an update is available. A configurable template exists to give you control of how the members of your generated script are formatted and organized. Custom builders can also be shared using the Share Builders forum (https://forum.aiunity.com/?forum=573668).

Any C# file you create in a deterministic way is an opportunity to allow ScriptBuilder to take over.

Resources:
[Unity3d] Unity asset store (ScriptBuilder): https://www.assetstore.unity3d.com/#!...
[Website] AiUnity (Unity3d products): http://aiunity.com
[Forum] AiUnity support: https://forum.aiunity.com
[Forum] Share custom builders (ScriptBuilder): https://forum.aiunity.com/?forum=573668
[YouTube] Playlist (ScriptBuilder):    • ScriptBuilder - Auto generate any Uni...  
[YouTube] AiUnity subscribe:    / @aiunity3233  
[YouTube] AiUnity story:    • Video  


On this page of the site you can watch the video online ScriptBuilder Tutorial (ExampleBuilder) - Automatically generate any Unity script with a duration of hours minute second in good quality, which was uploaded by the user AiUnity 07 September 2017, share the link with friends and acquaintances, this video has already been watched 851 times on youtube and it was liked by 4 viewers. Enjoy your viewing!