Exemple #1
0
 public void SetContainerButtonFunction(OxHelpers.Alignment buttonPosition, OxHelpers.ElementType function)
 {
     containerButtons[((int)buttonPosition)].elementFunction = function;
 }
Exemple #2
0
 public OxLabel(Vector2 position, Vector2 size, string text, Color textColor, OxHelpers.Alignment textAlignment) : base(position, size)
 {
     this.text          = text;
     this.textColor     = textColor;
     this.textAlignment = textAlignment;
 }
Exemple #3
0
 public OxLabel(OxHelpers.Alignment textAlignment) : this("", Color.black, textAlignment)
 {
 }
Exemple #4
0
 public OxLabel(string text, Color textColor, OxHelpers.Alignment textAlignment) : this(Vector2.zero, Vector2.zero, text, textColor, textAlignment)
 {
 }