private static void CreateNewUnitTestTemplate()
 {
     CodeTemplates.CreateFromTemplate(
         "NewUnitTest.cs",
         CodeTemplates.CODE_TEMPLATES_ROOT + "Templates/NewUnitTestTemplate.txt");
 }
Exemplo n.º 2
0
        public override void Action(int instanceId, string pathName, string resourceFile)
        {
            Object o = CodeTemplates.CreateScript(pathName, resourceFile);

            ProjectWindowUtil.ShowCreatedAsset(o);
        }
 private static void CreateNewMonoBehaviourTemplate()
 {
     CodeTemplates.CreateFromTemplate(
         "NewMonoBehaviour.cs",
         CodeTemplates.CODE_TEMPLATES_ROOT + "Templates/NewMonoBehaviourTemplate.txt");
 }