Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey!👋

I often find myself deleting Start() and Update() methods from the default unity C# script template - especially when I want to have just a simple monobehaviour component that exposes some functionality or when I need to create an Interface.

It doesn't take much time but it adds up with every new script🤔

Here is one way you that you can use to create your own custom script templates in Unity that doesn't involves digging in the Unity installation folder 😉

I hope that some of you will find this video helpful!

-Peter

Files

Previews only

How to create custom script templates in Unity

I often find myself deleting the Start() and Update() methods from the default unity C# script template. It doesn't take much time but if you want to create a pure C# class or an Interface multiple times it adds up. Why not create our own custom templates that we can create the same way from the Create inspector menu? In this video I want to show you how to add custom C# templates to Unity. Link default template: https://drive.google.com/file/d/1FE9o_u6fK-TwRIOpA2xuxP2x47T67nCW/view?usp=sharing Learn to write more maintainable code using Design patterns by making a 2d platformer game: https://courses.sunnyvalleystudio.com/ Join the discord: https://discord.gg/RQEtYHz You can support me through Patreon: https://www.patreon.com/sunnyvalleystudio #template #unity2d #Unity3d #sunnyvalleystudio

Comments

Anonymous

Thank you Sunny Valley!! Appreciate your time and work very sincerely! :)