summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_script.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-02 20:17:31 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-02 20:17:31 -0300
commit1597082c85a2bf3ddca0414de1fa32fb5f2e5350 (patch)
tree9329b37b872ef4b97ccd9ea7c2a9f2a234867303 /modules/gdscript/gd_script.h
parent61745855d0bb309cb0ebcd2d92fc15f7f6fb1840 (diff)
-Ability to roll-back script-exported properties to their default value on the script, closes #2128
Diffstat (limited to 'modules/gdscript/gd_script.h')
-rw-r--r--modules/gdscript/gd_script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.h b/modules/gdscript/gd_script.h
index 173997a1fe..cf8f762a86 100644
--- a/modules/gdscript/gd_script.h
+++ b/modules/gdscript/gd_script.h
@@ -352,6 +352,8 @@ public:
Vector<uint8_t> get_as_byte_code() const;
+ bool get_property_default_value(const StringName& p_property,Variant& r_value) const;
+
virtual ScriptLanguage *get_language() const;
GDScript();