2
Changing Unity’s Boilerplate Script Code
source link: https://matthewminer.com/2010/06/21/changing-unitys-boilerplate-script-code
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Matthew Miner
Changing Unity’s Boilerplate Script Code
June 21, 2010Quick tip: if you’re not a fan of the boilerplate code that Unity spits out when you create a new script (for example, if you’d rather have an OnGUI
function ready to go rather than Start
), you can easily change it to whatever suits you best. In Mac OS X, right click on the Unity application, choose “Show Package Contents,” and navigate to Contents → Resources. You’ll see three files named NewBehaviourScript. Open those up, modify them to your liking, and save.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK