Closed andrewgu closed 4 years ago
Plan is to deprecate ShowSettings() so that it's just a no-op for 1.1 release.
Moved to 2.0. Just realized that ShowSettings could theoretically be called at any point and not just right after MCM_OptionsScreen.OnInit.
This is now done behind the scenes and ShowSettings() is no longer required to be called. For code compatibility it will be kept as a no-op until a future API version.
Currently, a mod has to call
MCM_API_SettingsPage.ShowSettings()
manually in order to tell the settings page to render controls. As BlueRaja suggests, we should be able to do this automatically, but first I need to know where to stick the code that would execute right after all of theUIScreenListener.OnInit()
events have been triggered.