User interface label class. More...
Public Member Functions | |
void | Awake () |
override void | DrawUI () |
Draws the label to the screen. | |
void | OnDrawGizmosSelected () |
Draws a preview of the button in the scene. | |
Public Attributes | |
string | text = "Text" |
Color | color = Color.black |
Font | font |
TextAnchor | align |
float | x = 0.25f * UIManager.designWidth |
float | y = 0.25f * UIManager.designHeight |
float | width = 0.5f * UIManager.designWidth |
float | height = 0.5f * UIManager.designHeight |
User interface label class.
override void UILabel.DrawUI | ( | ) | [virtual] |
Draws the label to the screen.
Implements UIBase.
void UILabel.OnDrawGizmosSelected | ( | ) |
Draws a preview of the button in the scene.