Преглед на файлове

Update mouse and input coords to 3.0

Max Hilbrunner преди 7 години
родител
ревизия
e12906b05b
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  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:
 
 ::