[godot] Closes #2238, C# binding generator dislikes type mismatch in gettter/setter pairs.

This commit is contained in:
Mario Zechner 2023-02-08 13:01:13 +01:00
parent 2113751ac8
commit 634028495f
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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();