Script Generator
Deadly Apps
$32.99
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
03/19(2018) |
32.99 |
11/26(2024) |
32.99 |
Jump AssetStore
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.