27 lines
620 B
C#
27 lines
620 B
C#
using System.Diagnostics;
|
|
using Godot;
|
|
using Godot.Collections;
|
|
|
|
namespace BITKit;
|
|
|
|
public partial class UXContainer:Control
|
|
{
|
|
[ExportCategory(nameof(Label))]
|
|
[Export] public Array<Label> labels;
|
|
|
|
public Label label => labels[0];
|
|
|
|
[ExportCategory(nameof(Button))]
|
|
[Export] public Array<Button> buttons;
|
|
public Button button => buttons[0];
|
|
|
|
[ExportCategory(nameof(TextEdit))]
|
|
[Export] public Array<LineEdit> lineEdits;
|
|
|
|
public LineEdit lineEdit => lineEdits[0];
|
|
|
|
[ExportCategory(nameof(OptionButton))]
|
|
[Export] public Array<OptionButton> optionButtons;
|
|
public OptionButton optionButton=>optionButtons[0];
|
|
|
|
} |