浏览代码

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:
 
 ::