Pārlūkot izejas kodu

Update mouse and input coords to 3.0

Max Hilbrunner 7 gadi atpakaļ
vecāks
revīzija
e12906b05b
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  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 the size of the viewport
        print("Viewport Resolution is: ", get_viewport_rect().size)
        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:
 Alternatively it's possible to ask the viewport for the mouse position:
 
 
 ::
 ::