diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-04 22:14:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 22:14:17 +0100 |
commit | 3f9f0b3dbb534518999d6b10c8e0ee68c1e27793 (patch) | |
tree | ea3538c12a829da64e5fefaa6c86fb3a37f51c3d | |
parent | 0f8ac21592dd2569bf03c97b9d7744ff51be6342 (diff) | |
parent | 2f7ab58780c0d3913b78545933bbd641c70006de (diff) |
Merge pull request #15347 from leoddd/leoddd-patch-1
(DOCS) forward_canvas_gui_input only takes one parameter
-rw-r--r-- | editor/editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp index 16e60edda7..b1f0a7991b 100644 --- a/editor/editor_plugin.cpp +++ b/editor/editor_plugin.cpp @@ -663,7 +663,7 @@ void EditorPlugin::_bind_methods() { ClassDB::bind_method(D_METHOD("get_editor_interface"), &EditorPlugin::get_editor_interface); - ClassDB::add_virtual_method(get_class_static(), MethodInfo(Variant::BOOL, "forward_canvas_gui_input", PropertyInfo(Variant::TRANSFORM2D, "canvas_xform"), PropertyInfo(Variant::OBJECT, "event", PROPERTY_HINT_RESOURCE_TYPE, "InputEvent"))); + ClassDB::add_virtual_method(get_class_static(), MethodInfo(Variant::BOOL, "forward_canvas_gui_input", PropertyInfo(Variant::OBJECT, "event", PROPERTY_HINT_RESOURCE_TYPE, "InputEvent"))); ClassDB::add_virtual_method(get_class_static(), MethodInfo("forward_draw_over_viewport", PropertyInfo(Variant::OBJECT, "overlay", PROPERTY_HINT_RESOURCE_TYPE, "Control"))); ClassDB::add_virtual_method(get_class_static(), MethodInfo("forward_force_draw_over_viewport", PropertyInfo(Variant::OBJECT, "overlay", PROPERTY_HINT_RESOURCE_TYPE, "Control"))); ClassDB::add_virtual_method(get_class_static(), MethodInfo(Variant::BOOL, "forward_spatial_gui_input", PropertyInfo(Variant::OBJECT, "camera", PROPERTY_HINT_RESOURCE_TYPE, "Camera"), PropertyInfo(Variant::OBJECT, "event", PROPERTY_HINT_RESOURCE_TYPE, "InputEvent"))); |