mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +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) {
|
||||
}
|
||||
|
||||
void SpineAnimationMix::set_from(const StringName &_from) {
|
||||
void SpineAnimationMix::set_from(const String &_from) {
|
||||
this->from = _from;
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ String SpineAnimationMix::get_from() {
|
||||
return from;
|
||||
}
|
||||
|
||||
void SpineAnimationMix::set_to(const StringName &_to) {
|
||||
void SpineAnimationMix::set_to(const String &_to) {
|
||||
this->to = _to;
|
||||
}
|
||||
|
||||
|
||||
@ -24,11 +24,11 @@ protected:
|
||||
public:
|
||||
SpineAnimationMix();
|
||||
|
||||
void set_from(const StringName &from);
|
||||
void set_from(const String &from);
|
||||
|
||||
String get_from();
|
||||
|
||||
void set_to(const StringName &to);
|
||||
void set_to(const String &to);
|
||||
|
||||
String get_to();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user