Example #1
0
 static public T CreateNewTextFile <T>(string base_name, string extension, string contents = "") where T : UnityEngine.Object
 {
     return(CreateTextFile <T>(Project.MakeUnusedCurrentDirectoryFilename(base_name, extension), contents));
 }
Example #2
0
 static public T CreateAsset<T>(Type type, Process<T> process) where T : ScriptableObject
 {
     return CreateAsset<T>(type, Project.MakeUnusedCurrentDirectoryFilename(type.Name, "asset"), process);
 }