Config file

Configurable file path, language.
This commit is contained in:
katboi01
2022-12-28 14:29:18 +01:00
parent 3e57846c0e
commit 662ee9f865
10 changed files with 88 additions and 41 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ public class UmaViewerUI : MonoBehaviour
public void LoadedAssetsAdd(UmaDatabaseEntry entry)
{
LoadedAssetCount++;
string filePath = UmaDatabaseController.GetABPath(entry);
string filePath = entry.FilePath;
var container = Instantiate(UmaContainerAssetsPrefab, LoadedAssetsPanel).GetComponent<UmaUIContainer>();
container.Name = Path.GetFileName(entry.Name) + "\n" + entry.Url;
container.Button.onClick.AddListener(() => {Process.Start("explorer.exe", "/select," + filePath);});