GuiScaledSkin Constructor |
Namespace: KSPDev.GUIUtils
public GuiScaledSkin( Func<GUISkin> sourceSkinProvider, Action<GUISkin> onSkinUpdatedFn = null )
A callback which will be called every time the scaledSkin is updated. The mods can react on it to update their internal cached styles. This callback is processed from the scaledSkin property getter.
The very first call will be made in scope of the constructor.