mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update GameModule.cs
This commit is contained in:
@@ -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)}]";
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user