Make property_*_revert methods multilevel and expose them for scripting
This commit is contained in:
parent
dbd1524362
commit
980f5f32f4
29 changed files with 327 additions and 126 deletions
|
|
@ -157,8 +157,8 @@ protected:
|
|||
|
||||
virtual void _validate_property(PropertyInfo &property) const override;
|
||||
|
||||
bool property_can_revert(const String &p_name);
|
||||
Variant property_get_revert(const String &p_name);
|
||||
bool _property_can_revert(const StringName &p_name) const;
|
||||
bool _property_get_revert(const StringName &p_name, Variant &r_property) const;
|
||||
|
||||
public:
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue