Просмотр исходного кода

Update mouse and input coords to 3.0

Max Hilbrunner 7 лет назад
Родитель
Сommit
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:
 
 ::