فهرست منبع

removed up, down, left, right keys from the demo.

were used before for fast multiscreen setup testing.
hurikhan 10 سال پیش
والد
کامیت
f7621810a2
2فایلهای تغییر یافته به همراه0 افزوده شده و 12 حذف شده
  1. 0 12
      demos/misc/window_management/control.gd
  2. BIN
      demos/misc/window_management/window_management.scn

+ 0 - 12
demos/misc/window_management/control.gd

@@ -54,18 +54,6 @@ func _fixed_process(delta):
 		get_node("Label_Screen1_Resolution").hide()
 		get_node("Label_Screen1_Position").hide()
 		
-	if( Input.is_action_pressed("ui_right")):
-		OS.set_screen(1)
-		
-	if( Input.is_action_pressed("ui_left")):
-		OS.set_screen(0)
-		
-	if( Input.is_action_pressed("ui_up")):
-		OS.set_fullscreen(true)
-		
-	if( Input.is_action_pressed("ui_down")):
-		OS.set_fullscreen(false)
-		
 	get_node("Button_Fullscreen").set_pressed( OS.is_fullscreen() )
 	get_node("Button_FixedSize").set_pressed( !OS.is_resizable() )
 	get_node("Button_Minimized").set_pressed( OS.is_minimized() )

BIN
demos/misc/window_management/window_management.scn