Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
KSP.UI.Screens.Editor.InventoryPartListTooltipController Class Reference
Inheritance diagram for KSP.UI.Screens.Editor.InventoryPartListTooltipController:
KSP.UI.PinnableTooltipController KSP.UI.TooltipController KSP.UI.IPinnableTooltipController KSP.UI.ITooltipController KSP.UI.ITooltipController

Public Member Functions

override void OnPointerClick (PointerEventData eventData)
 Event called when a tooltip is clicked. More...
 
override void OnPointerEnter (PointerEventData eventData)
 Event called when the mouse enters this object's collider. More...
 
override void OnPointerExit (PointerEventData eventData)
 Event called when the mouse exits this object's collider. More...
 
override bool OnTooltipAboutToDespawn ()
 Event called just before a tooltip is de-spawned. More...
 
override bool OnTooltipAboutToSpawn ()
 Event called just before a tooltip is spawned. More...
 
override void OnTooltipDespawned (Tooltip instance)
 Event called when a tooltip is destroyed. More...
 
override void OnTooltipPinned ()
 Event called when a tooltip is pinned. More...
 
override void OnTooltipSpawned (Tooltip tooltip)
 Event called when a tooltip is spawned. More...
 
override void OnTooltipUnpinned ()
 Event called when a tooltip is unpinned. More...
 
void PinToolTip ()
 
- Public Member Functions inherited from KSP.UI.PinnableTooltipController
bool IsPinned ()
 
void Unpin ()
 
- Public Member Functions inherited from KSP.UI.TooltipController
virtual void OnAppFocus (bool focus)
 
virtual bool OnTooltipUpdate (Tooltip instance)
 

Public Attributes

EditorPartIcon editorPartIcon = null
 Reference to the part icon More...
 
InventoryPartListTooltip tooltipPrefab
 The tooltip object itself More...
 
- Public Attributes inherited from KSP.UI.TooltipController
bool RequireInteractable = true
 

Additional Inherited Members

- Protected Member Functions inherited from KSP.UI.TooltipController
virtual void Awake ()
 
virtual void OnDestroy ()
 
virtual void OnDisable ()
 
- Protected Attributes inherited from KSP.UI.PinnableTooltipController
bool pinned = false
 
- Protected Attributes inherited from KSP.UI.TooltipController
Selectable selectableBase = null
 
- Properties inherited from KSP.UI.TooltipController
Tooltip TooltipPrefabInstance [get, set]
 
RectTransform TooltipPrefabInstanceTransform [get, set]
 
Tooltip TooltipPrefabType [get, set]
 
- Properties inherited from KSP.UI.ITooltipController
string name [get, set]
 
Tooltip TooltipPrefabInstance [get, set]
 
RectTransform TooltipPrefabInstanceTransform [get, set]
 
Tooltip TooltipPrefabType [get, set]
 

Member Function Documentation

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnPointerClick ( PointerEventData  eventData)
inlinevirtual

Event called when a tooltip is clicked.

Parameters
eventDataData with the click information.

Reimplemented from KSP.UI.PinnableTooltipController.

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnPointerEnter ( PointerEventData  eventData)
inlinevirtual

Event called when the mouse enters this object's collider.

Parameters
eventDataData with the click information.

Reimplemented from KSP.UI.PinnableTooltipController.

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnPointerExit ( PointerEventData  eventData)
inlinevirtual

Event called when the mouse exits this object's collider.

Parameters
eventDataData with the click information.

Reimplemented from KSP.UI.PinnableTooltipController.

override bool KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnTooltipAboutToDespawn ( )
inlinevirtual

Event called just before a tooltip is de-spawned.

Reimplemented from KSP.UI.TooltipController.

override bool KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnTooltipAboutToSpawn ( )
inlinevirtual

Event called just before a tooltip is spawned.

Reimplemented from KSP.UI.TooltipController.

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnTooltipDespawned ( Tooltip  instance)
inlinevirtual

Event called when a tooltip is destroyed.

Parameters
tooltipTooltip which has been destroyed.

Reimplemented from KSP.UI.TooltipController.

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnTooltipPinned ( )
inlinevirtual

Event called when a tooltip is pinned.

Reimplemented from KSP.UI.PinnableTooltipController.

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnTooltipSpawned ( Tooltip  tooltip)
inlinevirtual

Event called when a tooltip is spawned.

Parameters
tooltipTooltip which has been spawned.

Reimplemented from KSP.UI.TooltipController.

override void KSP.UI.Screens.Editor.InventoryPartListTooltipController.OnTooltipUnpinned ( )
inlinevirtual

Event called when a tooltip is unpinned.

Reimplemented from KSP.UI.PinnableTooltipController.

void KSP.UI.Screens.Editor.InventoryPartListTooltipController.PinToolTip ( )
inline

Member Data Documentation

EditorPartIcon KSP.UI.Screens.Editor.InventoryPartListTooltipController.editorPartIcon = null

Reference to the part icon

InventoryPartListTooltip KSP.UI.Screens.Editor.InventoryPartListTooltipController.tooltipPrefab

The tooltip object itself


The documentation for this class was generated from the following file: