Skip to content

Commit

Permalink
Modified Templates so they don't get added to the asset/create menu
Browse files Browse the repository at this point in the history
  • Loading branch information
knowlife4 committed Mar 10, 2023
1 parent 47bb701 commit efa95d8
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/ScriptTemplates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static void ComponentTemplate()
static string GetScriptTemplateDir()
{
bool inPackage = AssetDatabase.IsValidFolder("Packages/com.slice.ect");
return inPackage ? "Packages/com.slice.ect/ScriptTemplates" : "Assets/ScriptTemplates";
return inPackage ? "Packages/com.slice.ect/Templates" : "Assets/Templates";
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit efa95d8

Please sign in to comment.