Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
BaseLabel Class Reference
Inheritance diagram for BaseLabel:
Expansions.Missions.NodeLabel VesselLabel

Public Member Functions

void Disable ()
 
void Enable ()
 
void ResetParent ()
 Called from the UI scale change event to readjust when the UI scale change More...
 
void Setup (VesselLabels labels, VesselLabels.VesselLabelType labelType)
 Set up the information common to all different types of label. More...
 

Public Attributes

Image icon
 
TMPro.TextMeshProUGUI text
 

Protected Member Functions

virtual void OnClick (PointerEventData ptrData)
 

Protected Attributes

VesselLabels labels
 

Properties

bool Hover [get]
 
VesselLabels.VesselLabelType labelType [get, set]
 

Member Function Documentation

void BaseLabel.Disable ( )
inline
void BaseLabel.Enable ( )
inline
virtual void BaseLabel.OnClick ( PointerEventData  ptrData)
inlineprotectedvirtual

Reimplemented in VesselLabel.

void BaseLabel.ResetParent ( )
inline

Called from the UI scale change event to readjust when the UI scale change

void BaseLabel.Setup ( VesselLabels  labels,
VesselLabels.VesselLabelType  labelType 
)
inline

Set up the information common to all different types of label.

Member Data Documentation

Image BaseLabel.icon
VesselLabels BaseLabel.labels
protected
TMPro.TextMeshProUGUI BaseLabel.text

Property Documentation

bool BaseLabel.Hover
get
VesselLabels.VesselLabelType BaseLabel.labelType
getset

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