![]() ![]() The mod implements few layers of protection against unexpected state, like game update or new DLC - at worst it will load an original(untouched) assemblies and disable itself.Īll updates of modified types are performed by custom update loop. Since everything is done at runtime, files don't have to be recompiled and remain unchanged, so there is no risk of file corruption and the mod can be unsubscribed at any time. Patching of core game files is done before Mono runtime initializes Unity Engine.Īll modifications to the game files and later mods(incompatible) are performed at runtime in-memory and they cannot be reverted while game is running, due to limitations of assembly loading. To achieve this, I rename the Update() and LateUpdate() method on the UIComponent base class so Unity Engine will not call them automatically from its update loop. How it worksEach frame, the game updates over 10,000 UI components, most of which don't need updating (thanks to for proving that!) - FPS Booster prevents the useless updates, which reduces CPU strain and makes the game run faster. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |