修改项目根地址, 并将部分依赖于ToolFile的功能迁移至依赖Interaction以实现网络文件的获取

This commit is contained in:
2025-09-29 16:38:09 +08:00
parent 557a08d51b
commit 6c3d5934dc
86 changed files with 1184 additions and 48 deletions

View File

@@ -309,7 +309,7 @@ namespace Demo.Editor
new GameObject("GameContent").AddComponent<GameContent>();
}
var content = GameContent.instance;
content.RootSourceDir = Path.Combine(PlatformIndicator.StreamingAssetsPath, ProjectName) + "/";
content.RootSourceDir = Path.Combine(PlatformIndicator.PersistentDataPath, ProjectName) + "/";
content.IsCreateNewProject = IsCreateNewProject;
content.ScriptableObjectTypen = GetDefaultScriptableObjectTypen();
content.IsAutoPlay = true;