mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update GameObjectHelper.cs
This commit is contained in:
@@ -59,7 +59,7 @@ namespace TEngine.Runtime
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = UnityEngine.Object.Instantiate(Resources.Load<GameObject>(objectName));
|
||||
ret = UnityEngine.Object.Instantiate(TResources.Load<GameObject>(objectName));
|
||||
ret.name = objectName;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user