Create script with custom template

后端 未结 1 1835
攒了一身酷
攒了一身酷 2021-01-19 19:38

I need to make the following as the default template of my new C# scripts added in Unity Editor.

using System.Collections;
using System.Collections.Generic;         


        
相关标签:
1条回答
  • 2021-01-19 20:06

    I checked that but there's no problem.

    Check This Point

    1. Is AddNameSpace class in the Assets/Editor in project?

    2. If you develop CS, modify 81-C# Script-NewBehaviourScript.cs in Unity\Editor\Data\Resources\ScriptTemplates

    0 讨论(0)
提交回复
热议问题