Search Results
7/20/2025, 7:13:52 AM
>>531962165
Thanks but This is to create a scriptableobject asset. It means you have to already have a script in your project. What I want is to have a scripttemplate txt file. Which will be used and create a .cs file through right click - create - scripting - MyScript.
I can modify the default new monobehaviour script template, but I want to keep it.
I guess there is no way of adding your own templates. Maybe I'll add a blank script and duplicate it when I want to create a new one. Then it will be included in the compilation process. It shouldn't but I guess it doesn't hurt much.
Thanks but This is to create a scriptableobject asset. It means you have to already have a script in your project. What I want is to have a scripttemplate txt file. Which will be used and create a .cs file through right click - create - scripting - MyScript.
I can modify the default new monobehaviour script template, but I want to keep it.
I guess there is no way of adding your own templates. Maybe I'll add a blank script and duplicate it when I want to create a new one. Then it will be included in the compilation process. It shouldn't but I guess it doesn't hurt much.
Page 1