コード例 #1
0
ファイル: Label.cs プロジェクト: Shmaug/Voxel-Generator
 public Label(string name, UDim2 position, float scale, string text, byte font, Color color)
     : base(name, position, scale)
 {
     Text = text;
     Font = font;
     Color = color;
 }
コード例 #2
0
ファイル: ImageLabel.cs プロジェクト: Shmaug/Voxel-Generator
 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;
 }
コード例 #3
0
ファイル: Button.cs プロジェクト: Shmaug/Voxel-Generator
 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;
 }
コード例 #4
0
ファイル: UIElement.cs プロジェクト: Shmaug/Voxel-Generator
 public UIElement(string name, UDim2 position, float scale)
 {
     Name = name;
     Position = position;
     Scale = scale;
 }