자산 관리자 Local Assets Load 기능 개발
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user