Click or drag to resize

HintOverlay Constructor

Constructs an overlay.

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public HintOverlay(
	Func<GUISkin> skinProvider,
	Func<GUIStyle> styleProvider,
	bool adjustGuiScale = false
)
Request Example View Source

Parameters

skinProvider
Type: System.Func<GUISkin>
A function that returns the style.
styleProvider
Type: System.Func<GUIStyle>
A function that returns the reference skin.
adjustGuiScale (Optional)
Type: System.Boolean
If set to true, then the overlay will consider the current UI scale setting in the game. The text style will be adjusted accordingly.
See Also