aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-05 16:26:22 +0200
committerGitHub2017-07-05 16:26:22 +0200
commit4f220a65521d090b27a0de63c2db32e50018ac7c (patch)
treed4f2f972664f3d7cda3cadb69778ff403564990e
parentf99481e0c2f50c87f30251481b93f09e86b793f5 (diff)
parentb54c5f3953e0e557e9f1dfab9cac34b345218039 (diff)
downloadgodot-4f220a65521d090b27a0de63c2db32e50018ac7c.tar.gz
godot-4f220a65521d090b27a0de63c2db32e50018ac7c.tar.zst
godot-4f220a65521d090b27a0de63c2db32e50018ac7c.zip
-rw-r--r--scene/2d/particles_2d.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp
index 98664e01e..7d9d01b64 100644
--- a/scene/2d/particles_2d.cpp
+++ b/scene/2d/particles_2d.cpp
@@ -130,6 +130,8 @@ void ParticleAttractor2D::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_particles_path", "path"), &ParticleAttractor2D::set_particles_path);
ObjectTypeDB::bind_method(_MD("get_particles_path"), &ParticleAttractor2D::get_particles_path);
+ ObjectTypeDB::bind_method(_MD("_owner_exited"), &ParticleAttractor2D::_owner_exited);
+
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "enabled"), _SCS("set_enabled"), _SCS("is_enabled"));
ADD_PROPERTY(PropertyInfo(Variant::REAL, "radius", PROPERTY_HINT_RANGE, "0.1,16000,0.1"), _SCS("set_radius"), _SCS("get_radius"));
ADD_PROPERTY(PropertyInfo(Variant::REAL, "disable_radius", PROPERTY_HINT_RANGE, "0.1,16000,0.1"), _SCS("set_disable_radius"), _SCS("get_disable_radius"));