Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | RefreshToolTipHeight (Vector2 localCursor) |
Updates the height of the tooltip to adjust to the current widgets More... | |
void | Setup (AvailablePart availablePart, Callback< PartListTooltip > onPurchase, RenderTexture texture=null) |
Setup a PartList ToolTip for a Part. More... | |
void | Setup (AvailablePart availablePart, PartUpgradeHandler.Upgrade up, Callback< PartListTooltip > onPurchase, RenderTexture texture=null) |
Set up a PartList Tooltip for an upgrade. More... | |
Public Attributes | |
RectTransform | extInfoListContainer |
Parent for the widget list More... | |
RectTransform | extInfoListSpacer |
Spacer for the widget list More... | |
PartListTooltipWidget | extInfoModuleWidgetPrefab |
Prefab for the module info widget More... | |
PartListTooltipWidget | extInfoRscWidgePrefab |
Prefab for the resource info widget More... | |
StoredPart | inventoryStoredPart |
Reference to the part stored in the inventory slot More... | |
bool | mouseOver = false |
Is the mouse over this tooltip More... | |
TMPro.TextMeshProUGUI | textName |
TextMeshPro label for the part name More... | |
InventoryPartListTooltipController | toolTipController |
Reference to the tooltip controller More... | |
Properties | |
bool | isGrey [get, set] |
Properties inherited from KSP.UI.Tooltip | |
RectTransform | RectTransform [get] |
Additional Inherited Members | |
Protected Member Functions inherited from KSP.UI.Tooltip | |
void | Awake () |
|
inline |
Updates the height of the tooltip to adjust to the current widgets
|
inline |
Setup a PartList ToolTip for a Part.
availablePart | |
onPurchase | |
texture |
|
inline |
Set up a PartList Tooltip for an upgrade.
availablePart | |
up | |
onPurchase | |
texture |
RectTransform KSP.UI.Screens.Editor.InventoryPartListTooltip.extInfoListContainer |
Parent for the widget list
RectTransform KSP.UI.Screens.Editor.InventoryPartListTooltip.extInfoListSpacer |
Spacer for the widget list
PartListTooltipWidget KSP.UI.Screens.Editor.InventoryPartListTooltip.extInfoModuleWidgetPrefab |
Prefab for the module info widget
PartListTooltipWidget KSP.UI.Screens.Editor.InventoryPartListTooltip.extInfoRscWidgePrefab |
Prefab for the resource info widget
StoredPart KSP.UI.Screens.Editor.InventoryPartListTooltip.inventoryStoredPart |
Reference to the part stored in the inventory slot
bool KSP.UI.Screens.Editor.InventoryPartListTooltip.mouseOver = false |
Is the mouse over this tooltip
TMPro.TextMeshProUGUI KSP.UI.Screens.Editor.InventoryPartListTooltip.textName |
TextMeshPro label for the part name
InventoryPartListTooltipController KSP.UI.Screens.Editor.InventoryPartListTooltip.toolTipController |
Reference to the tooltip controller
|
getset |