Click or drag to resize

IKSPDevModuleInfoGetInfo Method

Returns description for the editor part's browser.

Namespace:  KSPDev.KSPInterfaces
Assembly:  KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntax
C#
string GetInfo()
Request Example View Source

Return Value

Type: String
Rich text to show the in GUI. Regular Unity rich text styles are supported.

Be careful when using <size>. It specifies size of the font in pixels which is an absolute value. As of KSP v1.1.3 normal info font size is 11px but in the future versions it may change.

Remarks
Declared as virtual in PartModule and, hence, almost always needs to be overridden. Though, it's also a part of IModuleInfo.
See Also