Class UIInfoLabel
public class UIInfoLabel : KerbalMonoBehaviour, IUIInfoLabel
- Inheritance
-
UIInfoLabel
- Implements
- Inherited Members
- Extension Methods
Constructors
UIInfoLabel()
public UIInfoLabel()
Properties
Icon
public Image Icon { get; }
Property Value
- Image
RectTransform
public RectTransform RectTransform { get; }
Property Value
- RectTransform
Text
public TextMeshProUGUI Text { get; }
Property Value
- TextMeshProUGUI
Methods
Reset()
public void Reset()
SetActive(bool)
public void SetActive(bool active)
Parameters
activebool
SetVisibility(bool)
public void SetVisibility(bool show)
Parameters
showbool
Setup(Color, Sprite, float, Action)
public void Setup(Color iconColor, Sprite iconSprite, float iconSize, Action onDoubleClick)