A utility class to render windows with an alternative skin.
Inheritance Hierarchy
Namespace:
KSPDev.GUIUtils
Assembly:
KSPDev_Utils.2.6 (in KSPDev_Utils.2.6.dll) Version: 2.6 for KSP v1
SyntaxThe GuiSkinScope type exposes the following members.
Constructors
Methods
| Name | Description |
---|
 | Dispose | Restores the skin that was set before the scope started. |
Top
Remarks
When the scope starts, it changes global setting GUI.skin. On the scope end, the original value is restored.
It can be used from OnGUI method to replace skin for the entire window.
See Also