Example #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;
     }
 }
Example #2
0
 public static void CopyToNode(Godot.BaseButton control, IBaseButtonProps?oldProps, IBaseButtonProps props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
     control.Disabled = props.disabled;
 }
Example #3
0
 public static void CopyToNode(Godot.CenterContainer control, Props?oldProps, Props props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
 }
Example #4
0
 public static void CopyToNode(Godot.Label control, Props?oldProps, Props props)
 {
     ControlComponent.CopyToNode(control, oldProps, props);
     control.Text = props.text;
 }