A game about forced loneliness, made by TACStudios
at master 30 lines 1.4 kB view raw
1using System; 2 3namespace UnityEditor.TestTools.TestRunner.GUI.TestAssets 4{ 5 /// <summary> 6 /// Provides basic utility methods for creating assets in the active Project Browser folder path. 7 /// </summary> 8 internal interface IActiveFolderTemplateAssetCreator 9 { 10 /// <summary> 11 /// The active Project Browser folder path relative to the root project folder. 12 /// </summary> 13 /// <returns>The active folder path string.</returns> 14 string GetActiveFolderPath(); 15 16 /// <summary> 17 /// Creates a new folder asset in the active folder path with assets defined by provided templates. 18 /// </summary> 19 /// <param name="defaultName">The default name of the folder.</param> 20 /// <param name="templateNames">The names of templates to be used when creating embedded assets.</param> 21 void CreateFolderWithTemplates(string defaultName, params string[] templateNames); 22 23 /// <summary> 24 /// Creates a new script asset in the active folder path defined by the provided template. 25 /// </summary> 26 /// <param name="defaultName">The default name of the new script asset.</param> 27 /// <param name="templatePath">The template to be used when creating the asset.</param> 28 void CreateScriptAssetFromTemplateFile(string defaultName, string templatePath); 29 } 30}