Make property_*_revert methods multilevel and expose them for scripting

This commit is contained in:
Yuri Sizov 2022-08-12 21:43:14 +03:00
parent dbd1524362
commit 980f5f32f4
29 changed files with 327 additions and 126 deletions

View file

@ -82,6 +82,12 @@ public:
Variant::Type get_property_type(const StringName &p_name, bool *r_is_valid) const override {
return Variant::PACKED_FLOAT32_ARRAY;
}
bool property_can_revert(const StringName &p_name) const override {
return false;
};
bool property_get_revert(const StringName &p_name, Variant &r_ret) const override {
return false;
};
void get_method_list(List<MethodInfo> *p_list) const override {
}
bool has_method(const StringName &p_method) const override {