mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
Add Godot Spine Skin init method to binds (#2874)
This commit is contained in:
parent
e4eff7d41d
commit
d698e53e3e
@ -45,6 +45,7 @@ void SpineSkin::_bind_methods() {
|
|||||||
ClassDB::bind_method(D_METHOD("get_attachments"), &SpineSkin::get_attachments);
|
ClassDB::bind_method(D_METHOD("get_attachments"), &SpineSkin::get_attachments);
|
||||||
ClassDB::bind_method(D_METHOD("get_bones"), &SpineSkin::get_bones);
|
ClassDB::bind_method(D_METHOD("get_bones"), &SpineSkin::get_bones);
|
||||||
ClassDB::bind_method(D_METHOD("get_constraints"), &SpineSkin::get_constraints);
|
ClassDB::bind_method(D_METHOD("get_constraints"), &SpineSkin::get_constraints);
|
||||||
|
ClassDB::bind_method(D_METHOD("init", "name", "sprite"), &SpineSkin::init);
|
||||||
}
|
}
|
||||||
|
|
||||||
SpineSkin::SpineSkin() : owns_skin(false) {
|
SpineSkin::SpineSkin() : owns_skin(false) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user