public static Godot.Node CreateNode(Props props) { var control = new Godot.Label(); CopyToNode(control, null, props); return(control); }
private void CreateResult() { GetNode <Godot.Control>(_starPath).Visible = true; Godot.Label resultLabel = GetNode <Godot.Label>(_resultLabelPath); if (_regularOperation.Result == 0) { _openedLesson.SetAndSaveStars(0); resultLabel.Text = "0 Stars"; } else if (_startOpen.Result == 0 || _startPassing.Result == 0) { _openedLesson.SetAndSaveStars(1); resultLabel.Text = "1 Star"; } else if (_noiseAndBlackout.Result == 0) { _openedLesson.SetAndSaveStars(2); resultLabel.Text = "2 Stars!"; } else { _openedLesson.SetAndSaveStars(3); resultLabel.Text = "3 Stars! Nice!"; } }
public static Godot.Node CreateNode(Props props) { var control = new Godot.Label(); CopyToNode(control, null, props); Component.RegisterLabelSignals(control, props); return(control); }
internal Label(Godot.Label control) : base(control) { }
public static void CopyToNode(Godot.Label control, Props?oldProps, Props props) { ControlComponent.CopyToNode(control, oldProps, props); control.Text = props.text; }
public Label(Godot.Label control) : base(control) { }
public Label() { Base = new _Label(this); }