KSPDev Client utilities
KSPDev Client utilities
KSPDev.GUIUtils
HintOverlay Class
HintOverlay Methods
ShowAtCursor Method
ShowAtPosition Method
HintOverlay
ShowAtPosition Method
Shows hint at the absolute screen position.
Namespace:
KSPDev.GUIUtils
Assembly:
KSPDev_Utils.2.6 (in KSPDev_Utils.2.6.dll) Version: 2.6 for KSP v1
Syntax
C#
Copy
public
void
ShowAtPosition
(
float
x
,
float
y
)
Request Example
View Source
Parameters
x
Type:
System
Single
X position is screen coordinates.
y
Type:
System
Single
Y position is screen coordinates.
Remarks
If hint content goes out of the screen it's clipped.
This method must be called from the
OnGUI()
method.
See Also
Reference
HintOverlay Class
KSPDev.GUIUtils Namespace
Send comments on this topic to
igor.zavoychinskiy@gmail.com