Update ResourceManager.cs

This commit is contained in:
ALEXTANG
2023-07-09 00:07:32 +08:00
parent f588038848
commit f549514d7c

View File

@@ -343,7 +343,7 @@ namespace TEngine
if (typeof(T) == typeof(GameObject))
{
GameObject ret = handle.InstantiateSync();
GameObject ret = handle.InstantiateSync(parent);
AssetReference.BindAssetReference(ret, handle, assetName);
return ret as T;
}