Update TSingleton.cs

This commit is contained in:
ALEXTANG
2023-05-20 11:10:34 +08:00
parent 9359a81a96
commit 71d1286144

View File

@@ -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 =
{ {