Use asset pipeline for blocking asset loading, remove old texture loader

This commit is contained in:
Simon Lübeß
2024-06-03 00:46:23 +02:00
parent b2806d9460
commit 108b31399a
11 changed files with 134 additions and 643 deletions
+2 -2
View File
@@ -375,12 +375,12 @@ class AssetHierarchy
if (assetNode.IsInSubtree(_resourcesDirectoryNode))
{
Path.GetRelativePath(assetNode->Path, _resourcesDirectoryNode->Path, identifier);
identifier.Insert(0, "Resources/");
identifier.Insert(0, AssetIdentifier.ResourcesPrefix);
}
else if (assetNode.IsInSubtree(_assetsDirectoryNode))
{
Path.GetRelativePath(assetNode->Path, _assetsDirectoryNode->Path, identifier);
identifier.Insert(0, "Assets/");
identifier.Insert(0, AssetIdentifier.AssetsPrefix);
}
delete assetNode->Identifier;