Unity 5 Supported.
- What is "Script Factory"?
This is an editor extension for script generation. When you create a new script, Unity always creates the same default script template. You always have to modify the script to get it the way you want. Usually you insert your own comment lines to the top of the script, or insert frequently used modules and methods.
The Unity editor does not have any settings for the default script. The only way to change the default script is to change it in the script template folder located in the installation folder of Unity. But if you change it, all Unity projects on that computer are affected.
Script Factory can create a script template without any of the problems this would cause. Templates for each language (C #, Javascript, Boo, Shader, Compute), at any time can be changed in the Unity editor without modifying the installation folder templates.
Not just script languages, but also frequently used text-based assets (XML, JSON ...) can be set as well. You can also change the keyword setting, the default script creation allowable setting, the newline character setting and so on, there are a variety of features.
--------------------------------------
This package provides a number of features.
1. You can change from the default scripts provided by Unity to your own templates.
- You don't have to change the default scripts in the installation path at all.
- C#(.cs), Javascript(.js), Boo(.boo), Shader(.shader), ComputeShader(.compute) are supported.
2. You can easily set and use custom scripts.
- Script Factory provides a custom script wizard. It offers settings that can block the default script creation.
- Custom scripts don't have to be an existing types in Unity. If it's a text format, it can have a template.
3. You can insert keywords in the script.
- The keywords are automatically replaced by the script name, etc.
- You can even nest keywords. Keywords can be replaced in a variety of settings because.
4. You can have multiple configuration files.
- Script Factory provides a config selector.
- If you want to use a different config, you just activate it. If you don't have an active config, Unity will use its default.
--------------------------------------
Script Factory is great for a range of scenarios.
1. On a personal project, if you want to want frequently used script templates to be generated automatically.
- When you make a comment that you use frequently, you can keep is consistently across all scripts.
- When you create a script template that you use frequently, you can work comfortably without boring repetition.
2. On group projects, if you want to set global comments.
- When you create custom scripts, including comments , you do not need to be forced to create the same comments individually.
- Built-in keywords (user name , creation date , etc) can be automatically inserted into the templates.
3. On a project that uses a framework or you want to limit the generation to only specific classes
- Script Factory provides a setting that can block the default script generation of Unity.
- The script wizard provides easy access to add/remove classes and frameworks that you want.
For more information, please contact me.
E-Mail: appastoy82@gmail.com