PowerQuest 0.17.3
ILabel Interface Reference

Detailed Description

Gui Label

    Label.KeypadReadout.Text = "ENTER PASSWORD";
    Label.ErrorMessage.Show();

Inherits IGuiControl.

Properties

string Text [get, set]
 
Color Color [get, set]
 
QuestText TextComponent [get]
 
- Properties inherited from IGuiControl
MonoBehaviour Instance [get]
 Access to the actual game object component in the scene. Note that controls themselves can be cast to their component type if known. More...
 
bool Visible [get, set]
 Sets the control visible invisible the control. More...
 
Vector2 Position [get, set]
 
bool Focused [get]
 
bool HasKeyboardFocus [get, set]
 

Public Member Functions

Coroutine Fade (float start, float end, float duration, eEaseCurve curve=eEaseCurve.Smooth)
 Fade the sprite's alpha. More...
 
void FadeBG (float start, float end, float duration, eEaseCurve curve=eEaseCurve.InOutSmooth)
 Fade the sprite's alpha (non-blocking) More...
 
- Public Member Functions inherited from IGuiControl
void Show ()
 Shows the control. More...
 
void Hide ()
 Hides the control. More...
 
void SetPosition (float x, float y)
 Sets the position of the control. Note that this will be overridden if using AlignTo or FitTo component. More...
 

Member Function Documentation

◆ Fade()

Coroutine Fade ( float  start,
float  end,
float  duration,
eEaseCurve  curve = eEaseCurve.Smooth 
)

Fade the sprite's alpha.

◆ FadeBG()

void FadeBG ( float  start,
float  end,
float  duration,
eEaseCurve  curve = eEaseCurve.InOutSmooth 
)

Fade the sprite's alpha (non-blocking)