mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 04:16:50 +01:00
Proper bind parameters for body_instance.
This commit is contained in:
parent
b6e6d3226f
commit
806a083cc9
@ -7569,9 +7569,9 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_character_skeleton"), &Entity::get_character_skeleton);
|
||||
ClassDB::bind_method(D_METHOD("set_character_skeleton", "skeleton"), &Entity::set_character_skeleton);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("body_instance"), &Entity::body_instance);
|
||||
ClassDB::bind_method(D_METHOD("body_instance", "data", "model_index"), &Entity::body_instance);
|
||||
ClassDB::bind_method(D_METHOD("body_on_changed"), &Entity::body_on_changed);
|
||||
|
||||
w
|
||||
BIND_VMETHOD(MethodInfo("_body_changed"));
|
||||
ADD_SIGNAL(MethodInfo("body_changed", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user