You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
This commit is contained in:
@@ -87,7 +87,7 @@ protected:
|
||||
static void _bind_methods();
|
||||
public:
|
||||
|
||||
bool forward_input_event(const InputEvent& p_event);
|
||||
bool forward_gui_input(const InputEvent& p_event);
|
||||
void edit(Node *p_collision_polygon);
|
||||
NavigationPolygonEditor(EditorNode *p_editor);
|
||||
};
|
||||
@@ -101,7 +101,7 @@ class NavigationPolygonEditorPlugin : public EditorPlugin {
|
||||
|
||||
public:
|
||||
|
||||
virtual bool forward_canvas_input_event(const Matrix32& p_canvas_xform,const InputEvent& p_event) { return collision_polygon_editor->forward_input_event(p_event); }
|
||||
virtual bool forward_canvas_gui_input(const Matrix32& p_canvas_xform,const InputEvent& p_event) { return collision_polygon_editor->forward_gui_input(p_event); }
|
||||
|
||||
virtual String get_name() const { return "NavigationPolygonInstance"; }
|
||||
bool has_main_screen() const { return false; }
|
||||
|
||||
Reference in New Issue
Block a user