mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Closes #2238, C# binding generator dislikes type mismatch in gettter/setter pairs.
This commit is contained in:
parent
2113751ac8
commit
634028495f
@ -51,7 +51,7 @@ void SpineAnimationMix::_bind_methods() {
|
|||||||
SpineAnimationMix::SpineAnimationMix() : from(""), to(""), mix(0) {
|
SpineAnimationMix::SpineAnimationMix() : from(""), to(""), mix(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpineAnimationMix::set_from(const StringName &_from) {
|
void SpineAnimationMix::set_from(const String &_from) {
|
||||||
this->from = _from;
|
this->from = _from;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ String SpineAnimationMix::get_from() {
|
|||||||
return from;
|
return from;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpineAnimationMix::set_to(const StringName &_to) {
|
void SpineAnimationMix::set_to(const String &_to) {
|
||||||
this->to = _to;
|
this->to = _to;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -24,11 +24,11 @@ protected:
|
|||||||
public:
|
public:
|
||||||
SpineAnimationMix();
|
SpineAnimationMix();
|
||||||
|
|
||||||
void set_from(const StringName &from);
|
void set_from(const String &from);
|
||||||
|
|
||||||
String get_from();
|
String get_from();
|
||||||
|
|
||||||
void set_to(const StringName &to);
|
void set_to(const String &to);
|
||||||
|
|
||||||
String get_to();
|
String get_to();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user