You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
This commit is contained in:
@@ -488,7 +488,7 @@ void ProjectManager::_notification(int p_what) {
|
||||
|
||||
} else if (p_what==NOTIFICATION_VISIBILITY_CHANGED) {
|
||||
|
||||
set_process_unhandled_input(is_visible());
|
||||
set_process_unhandled_input(is_visible_in_tree());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user