renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
This commit is contained in:
parent
0a59c3c3a6
commit
920947f297
117 changed files with 229 additions and 224 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue