diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-21 15:23:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 15:23:35 +0200 |
commit | 79f82bd74284a3a90177d6446449d2a69285130f (patch) | |
tree | 8b20a991315c19c23a83b37eed22ac6ec0d34597 /modules/visual_script/visual_script.cpp | |
parent | 1061cf9f6634601d7c2b17b81f8f4699ee71d670 (diff) | |
parent | 5d4dc2d45caef77cdb52e365bc02f64d54046df5 (diff) |
Merge pull request #38063 from reduz/implement-typed-arrays
Add ability to bind typed arrays to script API
Diffstat (limited to 'modules/visual_script/visual_script.cpp')
-rw-r--r-- | modules/visual_script/visual_script.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.cpp b/modules/visual_script/visual_script.cpp index 7cc52eef36..fe1d82f977 100644 --- a/modules/visual_script/visual_script.cpp +++ b/modules/visual_script/visual_script.cpp @@ -1460,6 +1460,10 @@ VisualScript::VisualScript() { is_tool_script = false; } +bool VisualScript::inherits_script(const Ref<Script> &p_script) const { + return this == p_script.ptr(); //there is no inheritance in visual scripts, so this is enough +} + StringName VisualScript::get_default_func() const { return StringName("f_312843592"); } |