public void SetContainerButtonFunction(OxHelpers.Alignment buttonPosition, OxHelpers.ElementType function) { containerButtons[((int)buttonPosition)].elementFunction = function; }
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; }
public OxLabel(OxHelpers.Alignment textAlignment) : this("", Color.black, textAlignment) { }
public OxLabel(string text, Color textColor, OxHelpers.Alignment textAlignment) : this(Vector2.zero, Vector2.zero, text, textColor, textAlignment) { }