Closed ChrisViral closed 8 years ago
Right now, a dozen of GUIStyles are being created every frame, and that can't be good for memory. I should cache them in a Dictionary and fetch them as needed.
Also, allowing to switch between the default and KSP GUI skins would be nice.
Attempted to do this in 7b15bf6, should be ready to test
Confirming that this works, closing.
Right now, a dozen of GUIStyles are being created every frame, and that can't be good for memory. I should cache them in a Dictionary and fetch them as needed.
Also, allowing to switch between the default and KSP GUI skins would be nice.