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