mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update TSingleton.cs
This commit is contained in:
@@ -30,11 +30,11 @@ namespace GameBase
|
|||||||
{
|
{
|
||||||
if (_root == null)
|
if (_root == null)
|
||||||
{
|
{
|
||||||
_root = GameObject.Find("[SingletonMgr]");
|
_root = GameObject.Find("[GameModule]");
|
||||||
|
|
||||||
if (_root == null)
|
if (_root == null)
|
||||||
{
|
{
|
||||||
_root = new GameObject("[SingletonMgr]")
|
_root = new GameObject("[GameModule]")
|
||||||
{
|
{
|
||||||
transform =
|
transform =
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user