mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Start of new materials, disable async asset loading
This commit is contained in:
@@ -362,13 +362,13 @@ class EditorContentManager : IContentManager
|
||||
return _identiferToHandle.ContainsKey(identifier);
|
||||
}
|
||||
|
||||
public Asset GetAsset(Type assetType, AssetHandle handle)
|
||||
public Asset GetAsset(Type assetType, AssetHandle handle, bool blocking = false)
|
||||
{
|
||||
Asset asset = null;
|
||||
|
||||
if (!_handleToAsset.TryGetValue(handle, out asset))
|
||||
{
|
||||
LoadAsset(handle);
|
||||
LoadAsset(handle, blocking);
|
||||
}
|
||||
|
||||
if (var placeholder = asset as PlaceholderAsset)
|
||||
|
||||
Reference in New Issue
Block a user