Update GameModule.cs

This commit is contained in:
ALEXTANG
2023-04-10 21:01:53 +08:00
parent bd68a143c5
commit 406d71ab2b

View File

@@ -102,5 +102,7 @@ public class GameModule:MonoBehaviour
Log.Info("GameModule Active"); Log.Info("GameModule Active");
InitFrameWorkModules(); InitFrameWorkModules();
InitCustomModules(); InitCustomModules();
DontDestroyOnLoad(gameObject);
gameObject.name = $"[{nameof(GameModule)}]";
} }
} }