Esempio n. 1
0
 public static void CopyToNode(Godot.LineEdit control, Props?oldProps, Props props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
     if (control.Text != props.text)
     {
         control.Text = props.text;
     }
 }
Esempio n. 2
0
 public static void CopyToNode(Godot.BaseButton control, IBaseButtonProps?oldProps, IBaseButtonProps props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
     control.Disabled = props.disabled;
 }
Esempio n. 3
0
 public static void CopyToNode(Godot.CenterContainer control, Props?oldProps, Props props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
 }
Esempio n. 4
0
 public static void CopyToNode(Godot.Label control, Props?oldProps, Props props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
     control.Text = props.text;
 }