Esempio n. 1
0
 public static void CreateScriptableObjectAsset <T>(this IScriptableObjectDataStoreHandlerInResources <T> self) where T : ScriptableObject
 {
     CreateScriptableObjectAsset <T>(Path.Combine(Path.Combine(Application.dataPath, "Resources"), self.CreatePath()));
 }
Esempio n. 2
0
 public static string CreatePathInRuntime <T>(this IScriptableObjectDataStoreHandlerInResources <T> self) where T : ScriptableObject
 {
     return(Regex.Replace(self.CreatePath(), string.Format("{0}$", EXTENSION), string.Empty));
 }