コード例 #1
0
 public static void CreateScriptableObjectAsset <T>(this IScriptableObjectDataStoreHandlerInStreamingAssets <T> self) where T : ScriptableObject
 {
     CreateScriptableObjectAsset <T>(Path.Combine(Path.Combine(Application.dataPath, "StreamingAssets"), self.CreatePath()));
 }
コード例 #2
0
 public static string CreatePathInRuntime <T>(this IScriptableObjectDataStoreHandlerInStreamingAssets <T> self) where T : ScriptableObject
 {
     return(Path.Combine(Application.streamingAssetsPath, self.CreatePath()));
 }