aboutsummaryrefslogtreecommitdiff
path: root/scene/scene_string_names.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-10 18:02:19 -0300
committerJuan Linietsky2017-01-10 18:04:33 -0300
commitf3f4a11cfb9767e1d691aec431dd2f1a87a31977 (patch)
tree7918ff8c7b366df911374c93d5077d27d788f9c3 /scene/scene_string_names.cpp
parent6eeb994a7bbd3cb1500c42af8f3ac1227f323ce4 (diff)
downloadgodot-f3f4a11c.tar.gz
godot-f3f4a11c.tar.zst
godot-f3f4a11c.zip
- _ready() callback only happens once now, if you want to receive it again, use request_ready()
- C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
Diffstat (limited to 'scene/scene_string_names.cpp')
-rw-r--r--scene/scene_string_names.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/scene_string_names.cpp b/scene/scene_string_names.cpp
index 8e7ca882a..bbca64f30 100644
--- a/scene/scene_string_names.cpp
+++ b/scene/scene_string_names.cpp
@@ -120,6 +120,9 @@ SceneStringNames::SceneStringNames() {
gui_input=StaticCString::create("gui_input");
_gui_input=StaticCString::create("_gui_input");
+ _unhandled_input=StaticCString::create("_unhandled_input");
+ _unhandled_key_input=StaticCString::create("_unhandled_key_input");
+
changed=StaticCString::create("changed");
_shader_changed=StaticCString::create("_shader_changed");