I don't understand why I got this error: No overload for 'playAudioSound' matches delegate 'Tween.StepFinishedEventHandler'
Maybe this is a bug?
tween Signal error overload
Asked Answered
Airsick idx argument should be long, not int.
You can get more useful error message if you try to add the delegate as lambda.
tween.StepFinished += (int i) => {};
In this case the error message will tell you specifically where the type mismatch is.
Laager
Thank you very much, it worked😊👍
I'm sorry the Godot document confused me.
Airsick Yeah, Godot's int type is 64 bits. Which is equivalent to C# long.
© 2022 - 2024 — McMap. All rights reserved.