コード例 #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()));
 }
コード例 #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));
 }