mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Replace many uses of is_class
with derives_from
.
This commit is contained in:
parent
3d91a48298
commit
8ef4a43ada
43 changed files with 82 additions and 82 deletions
|
@ -4651,7 +4651,7 @@ bool ScriptEditorPlugin::handles(Object *p_object) const {
|
|||
return true;
|
||||
}
|
||||
|
||||
return p_object->is_class("Script");
|
||||
return p_object->derives_from<Script>();
|
||||
}
|
||||
|
||||
void ScriptEditorPlugin::make_visible(bool p_visible) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue