You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00: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:
@@ -35,7 +35,7 @@
|
||||
|
||||
|
||||
|
||||
void SampleEditor::_input_event(InputEvent p_event) {
|
||||
void SampleEditor::_gui_input(InputEvent p_event) {
|
||||
|
||||
|
||||
}
|
||||
@@ -348,7 +348,7 @@ void SampleEditor::edit(Ref<Sample> p_sample) {
|
||||
|
||||
void SampleEditor::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(_MD("_input_event"),&SampleEditor::_input_event);
|
||||
ClassDB::bind_method(_MD("_gui_input"),&SampleEditor::_gui_input);
|
||||
ClassDB::bind_method(_MD("_play_pressed"),&SampleEditor::_play_pressed);
|
||||
ClassDB::bind_method(_MD("_stop_pressed"),&SampleEditor::_stop_pressed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user