You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Add new events and accompanying logic to notify when the app is paused and resumed on Android devices.
This commit is contained in:
@@ -2861,6 +2861,8 @@ void Node::_bind_methods() {
|
||||
BIND_CONSTANT(NOTIFICATION_WM_ABOUT);
|
||||
BIND_CONSTANT(NOTIFICATION_CRASH);
|
||||
BIND_CONSTANT(NOTIFICATION_OS_IME_UPDATE);
|
||||
BIND_CONSTANT(NOTIFICATION_APP_RESUMED);
|
||||
BIND_CONSTANT(NOTIFICATION_APP_PAUSED);
|
||||
|
||||
BIND_ENUM_CONSTANT(PAUSE_MODE_INHERIT);
|
||||
BIND_ENUM_CONSTANT(PAUSE_MODE_STOP);
|
||||
|
||||
Reference in New Issue
Block a user