Make _validate_property a multilevel method
This commit is contained in:
@@ -216,7 +216,7 @@ protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
||||
virtual void _validate_property(PropertyInfo &property) const override;
|
||||
void _validate_property(PropertyInfo &p_property) const;
|
||||
|
||||
GDVIRTUAL1(_integrate_forces, PhysicsDirectBodyState2D *)
|
||||
|
||||
@@ -450,7 +450,7 @@ private:
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
virtual void _validate_property(PropertyInfo &property) const override;
|
||||
void _validate_property(PropertyInfo &p_property) const;
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST(CharacterBody2D::MotionMode);
|
||||
|
||||
Reference in New Issue
Block a user