private static void CreateBasicScript()
 {
     CodeTemplates.CreateFromTemplate(
         "BasicScript.cs",
         @"Assets/ProjectPref/Editor/CodeTemplates/Templates/BasicScript.txt");
 }
Example #2
0
        public override void Action(int instanceId, string pathName, string resourceFile)
        {
            Object o = CodeTemplates.CreateScript(pathName, resourceFile);

            ProjectWindowUtil.ShowCreatedAsset(o);
        }