Hi
I’ve learnt that one can add custom script templates to Unity Editor by adding text files to [Unity Instalation Path]\Editor\Data\Resources\ScriptTemplates.
For example we have there file named 85-C# Lazy Singleton-LazySingletonScript.cs.txt.
I wonder if it’s possible to put all those templates in a submenu like the Cubemap which is in Legacy submenu?
With Unity 5.2 there are more shader templates. They’re using double underscore to make a submenu like in 84-Shader__Unlit Shader-NewUnlitShader.shader.txt
You can use Code Templates, which is a foundation library for creating your own templates. The name is actually misleading as you can pretty much create any template you like (not only for code).
