Exemple #1
0
 public Label(string name, UDim2 position, float scale, string text, byte font, Color color)
     : base(name, position, scale)
 {
     Text = text;
     Font = font;
     Color = color;
 }
Exemple #2
0
 public ImageLabel(string name, UDim2 position, float scale, Texture2D image, Vector2 size, byte font, Color color)
     : base(name, position, scale)
 {
     Image = image;
     Size = size;
     Font = font;
     Color = color;
 }
Exemple #3
0
 public Button(string name, UDim2 position, float scale, string text, byte font, Color color1, Color color2, Action action)
     : base(name, position, scale)
 {
     this.text = text;
     this.action = action;
     Font = font;
     Color1 = color1;
     Color2 = color2;
 }
Exemple #4
0
 public UIElement(string name, UDim2 position, float scale)
 {
     Name = name;
     Position = position;
     Scale = scale;
 }