private static void CreateNewUnitTestTemplate() { CodeTemplates.CreateFromTemplate( "NewUnitTest.cs", CodeTemplates.CODE_TEMPLATES_ROOT + "Templates/NewUnitTestTemplate.txt"); }
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"); }