mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +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))
|
if (typeof(T) == typeof(GameObject))
|
||||||
{
|
{
|
||||||
GameObject ret = assetHandleData.Handle.InstantiateSync();
|
GameObject ret = assetHandleData.Handle.InstantiateSync(parent);
|
||||||
return ret as T;
|
return ret as T;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user