Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 9244318

Browse files
committed
feat: Save (not realized)
1 parent d070bb0 commit 9244318

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Packages/com.nuclearband.sodatabase/Runtime/SODatabase.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Collections.Generic;
66
using System.Linq;
77
using System.Threading.Tasks;
8+
using UnityEngine;
89
using UnityEngine.AddressableAssets;
910

1011
namespace NuclearBand
@@ -50,7 +51,6 @@ public static async Task Init(Action<float> onProgress, Action onComplete)
5051
dataNodeName = dataNodeName.Substring(0, dataNodeName.IndexOf(".asset", StringComparison.Ordinal));
5152
curFolder.DataNodes.Add(dataNodeName, loadTask.Value.Result);
5253
}
53-
5454
onComplete?.Invoke();
5555
}
5656

@@ -74,5 +74,10 @@ public static List<T> GetModels<T>(string path) where T : DataNode
7474

7575
return curFolder.DataNodes.Values.OfType<T>().ToList();
7676
}
77+
78+
public static string Save()
79+
{
80+
return "";
81+
}
7782
}
7883
}

0 commit comments

Comments
 (0)