자산 관리자 Local Assets Load 기능 개발

This commit is contained in:
정영민
2025-05-23 17:00:57 +09:00
parent 060dc241b1
commit fd42f2b11b
25 changed files with 5302 additions and 1247 deletions

View File

@@ -37,7 +37,8 @@ namespace Studio.Util
// Start is called before the first frame update
void Start()
{
assetLoaderOptions = AssetLoader.CreateDefaultLoaderOptions(false, true);
assetLoaderOptions = AssetLoader.CreateDefaultLoaderOptions(false, true);
assetLoaderOptions.ImportMaterials = true;
matrixConverter = new MatrixConverter();
}
@@ -85,8 +86,8 @@ namespace Studio.Util
private void OnMaterialsLoad(AssetLoaderContext assetLoaderContext)
{
loadedObject = assetLoaderContext.RootGameObject;
OnLoadComplete();
onLoadProgress?.Invoke(1.0f);
isLoadComplete = true;
Debug.Log("Materials loaded. Model fully loaded.");
}
private void OnLoad(AssetLoaderContext assetLoaderContext)