Explorar el Código

Update mouse and input coords to 3.0

Max Hilbrunner hace 7 años
padre
commit
e12906b05b
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      tutorials/inputs/mouse_and_input_coordinates.rst

+ 0 - 3
tutorials/inputs/mouse_and_input_coordinates.rst

@@ -37,9 +37,6 @@ for example:
        # Print the size of the viewport
        print("Viewport Resolution is: ", get_viewport_rect().size)
 
-    func _ready():
-        set_process_input(true)
-
 Alternatively it's possible to ask the viewport for the mouse position:
 
 ::