diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-02 20:17:31 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-02 20:17:31 -0300 |
commit | 1597082c85a2bf3ddca0414de1fa32fb5f2e5350 (patch) | |
tree | 9329b37b872ef4b97ccd9ea7c2a9f2a234867303 /core/script_language.h | |
parent | 61745855d0bb309cb0ebcd2d92fc15f7f6fb1840 (diff) | |
download | redot-engine-1597082c85a2bf3ddca0414de1fa32fb5f2e5350.tar.gz |
-Ability to roll-back script-exported properties to their default value on the script, closes #2128
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index a179949c19..3138c88e8e 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -98,6 +98,7 @@ public: virtual bool has_script_signal(const StringName& p_signal) const=0; virtual void get_script_signal_list(List<MethodInfo> *r_signals) const=0; + virtual bool get_property_default_value(const StringName& p_property,Variant& r_value) const=0; virtual void update_exports() {} //editor tool |