ScriptBuilder Tutorial (ExampleBuilder) - Automatically generate any Unity script

Publié le: 07 septembre 2017
sur la chaîne: 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  


Sur cette page du site, vous pouvez voir la vidéo en ligne ScriptBuilder Tutorial (ExampleBuilder) - Automatically generate any Unity script durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur AiUnity 07 septembre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 851 fois et il a aimé 4 téléspectateurs. Bon visionnage!