GUILayoutStringTableAddTextColumn Method (String, String, GUIStyle) |
Adds a text column into the table with a value tooltip.
Namespace:
KSPDev.GUIUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntaxpublic void AddTextColumn(
string text,
string tooltip,
GUIStyle style = null
)
Request Example
View SourceParameters
- text
- Type: SystemString
The text to add. - tooltip
- Type: SystemString
The tooltip for the column value. Note, that the tooltip is not handled by the table, it gets
rendered by the Unity GUI functionality, which may need to be configured.
- style (Optional)
- Type: GUIStyle
The style to apply to the text. If not set, then GUI.skin.label is used.
See Also