From 516412f5853b4cde712331456722f40ef1744644 Mon Sep 17 00:00:00 2001 From: geondo55 <102933884+geondo55@users.noreply.github.com> Date: Mon, 14 Apr 2025 15:03:14 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8D=B8=EB=84=A4=EC=9D=BC=20=ED=8C=A8?= =?UTF-8?q?=EB=84=90=20=EC=82=B4=EB=A6=AC=EA=B8=B0,=20=EB=A1=9C=EB=93=9C?= =?UTF-8?q?=20=EB=A1=9C=EC=BB=AC=20=ED=8C=8C=EC=9D=BC=20=EB=B6=80=EB=AA=A8?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Studio/AssetTool/CustomAssetDataRepository.cs | 2 +- Assets/Scripts/Studio/AssetTool/FBXFileManager.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Studio/AssetTool/CustomAssetDataRepository.cs b/Assets/Scripts/Studio/AssetTool/CustomAssetDataRepository.cs index 1a8d5312..acea99eb 100644 --- a/Assets/Scripts/Studio/AssetTool/CustomAssetDataRepository.cs +++ b/Assets/Scripts/Studio/AssetTool/CustomAssetDataRepository.cs @@ -41,7 +41,7 @@ namespace XED.Repositories return p != null; } - private CustomAssetData FindFromName(string name) + public CustomAssetData FindFromName(string name) { return assetDatas.Find(data => data.assetName == name); } diff --git a/Assets/Scripts/Studio/AssetTool/FBXFileManager.cs b/Assets/Scripts/Studio/AssetTool/FBXFileManager.cs index ae944264..bde91dab 100644 --- a/Assets/Scripts/Studio/AssetTool/FBXFileManager.cs +++ b/Assets/Scripts/Studio/AssetTool/FBXFileManager.cs @@ -38,6 +38,7 @@ namespace XED.Manage messagePacker.Initialize(); identifier = string.IsNullOrEmpty(identifier) ? "defaultAssetData" : identifier; + fbxAnchor = new GameObject("LocalAssetDataAnchor").transform; } public override void Init() { @@ -91,7 +92,7 @@ namespace XED.Manage public CustomAssetData GetCustomAssetData(string name) { - return dataRepo.FindFromPath(name); + return dataRepo.FindFromName(name); //return listAssets.FirstOrDefault(x => x.name == name); } -- 2.48.1.windows.1