You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add Script::inherits_script()
Partial cherry-pick of 5d4dc2d45c.
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
This commit is contained in:
@@ -111,6 +111,11 @@ void NativeScript::_placeholder_erased(PlaceHolderScriptInstance *p_placeholder)
|
||||
|
||||
#endif
|
||||
|
||||
bool NativeScript::inherits_script(const Ref<Script> &p_script) const {
|
||||
WARN_PRINT_ONCE("Inheritance needs to be implemented in NativeScript.");
|
||||
return false;
|
||||
}
|
||||
|
||||
void NativeScript::set_class_name(String p_class_name) {
|
||||
class_name = p_class_name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user