mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-31 09:49:06 +03:00
Fix "is mount_event" check in gui_in_3d to work with both 4 beta and 4 rc
This commit is contained in:
@@ -29,7 +29,7 @@ func _make_visible(visible):
|
||||
|
||||
# If your plugin doesn't handle any node types, you can remove this method.
|
||||
func _handles(object):
|
||||
return object is preload("res://addons/main_screen/handled_by_main_screen.gd")
|
||||
return is_instance_of(object, preload("res://addons/main_screen/handled_by_main_screen.gd"))
|
||||
|
||||
|
||||
func _get_plugin_name():
|
||||
|
||||
Reference in New Issue
Block a user