mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Fixed the bug for AssetsGroup
Fixed the bug for AssetsGroup
This commit is contained in:
@@ -325,7 +325,7 @@ namespace TEngine
|
||||
{
|
||||
if (typeof(T) == typeof(GameObject))
|
||||
{
|
||||
GameObject ret = assetHandleData.Handle.InstantiateSync();
|
||||
GameObject ret = assetHandleData.Handle.InstantiateSync(parent);
|
||||
return ret as T;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user