Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | UpdateTargetControl (TextMeshProUGUI textLabel) |
void | UpdateTargetControl (Selectable interactibleTarget) |
void | UpdateText () |
Public Member Functions inherited from XHoverable | |
void | Clear () |
Clear all state flags (useful in cases like flags becoming stuck if the object is set inactive) More... | |
void | OnPointerEnter (PointerEventData eventData) |
void | OnPointerExit (PointerEventData eventData) |
Public Attributes | |
bool | clearTextOnHoverExit = true |
string | hoverText = "" |
WHat to change the textTarget to when mouse is over this More... | |
Selectable | interactibleTargetControl |
The control whose interactible state can prevent the message change More... | |
bool | RequireInteractable = true |
Whether the interactible control counts More... | |
TextMeshProUGUI | textTargetForHover |
The text label that will be updated when the XSelectable this is attached to is hovered More... | |
Protected Member Functions | |
new void | OnDisable () |
void | OnHover (XHoverable arg1, PointerEventData arg2) |
void | OnUnhover (XHoverable arg1, PointerEventData arg2) |
new void | Start () |
Protected Member Functions inherited from XHoverable | |
override void | Awake () |
Additional Inherited Members | |
Properties inherited from XHoverable | |
bool | Hover [get] |
Events inherited from XHoverable | |
Callback< XHoverable, PointerEventData > | onPointerEnter |
Callback< XHoverable, PointerEventData > | onPointerExit |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
bool KSP.UI.UIHoverText.clearTextOnHoverExit = true |
string KSP.UI.UIHoverText.hoverText = "" |
WHat to change the textTarget to when mouse is over this
Selectable KSP.UI.UIHoverText.interactibleTargetControl |
The control whose interactible state can prevent the message change
bool KSP.UI.UIHoverText.RequireInteractable = true |
Whether the interactible control counts
TextMeshProUGUI KSP.UI.UIHoverText.textTargetForHover |
The text label that will be updated when the XSelectable this is attached to is hovered