• Current Version: 1.0: 2017-11-29T16:35:25Z
  • First Published: 2016-06-23T17:27:25Z
  • Size: 712480
  • Supported Unity Versions: 5.3.5
tools utilities

Script Generator

No rating !(0 Vote)
$27.59 $27.59

For a Demo and Tutorial Watch this video: https://www.youtube.com/watch?v=aUaLx3P2MxY

Unit Tests are included in project and depend on Unity Testing Tools for references to NSubstitute.

Online Documentation

I was doing with you tutorial for test-driven development and unity. I found that in order to write a tests that had all of the components for the humble object pattern I was forced to write 4 files every time I wanted to create a Mono Behavior. This quickly showed me that I needed to produce a templating system in the unity editor in order to produce these files every time. I then thought back to my earlier game development difficulties and realized that the ability to generate scripts with actually be an extremely helpful tool.

When putting together the system for templating I realized also that I have an organizational pattern in my projects. This pattern requires you to create a folder structure. That made it clear that the pattern should also work in the folder structure along with the templating system.

With the plugin you can now go to the create menu when building assets and select generate from template and a menu will pop up with the various templates available. In order to replace text in the file path file names or content we put a pound sign in front and at the end of each string just like the templates that are in default Unity Scripts.


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!