External Function with 5 parameters
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
Hello Everyone, I use a lot of External Functions in my ink code, without problems. But the last one I defined, has 5 parameters... And I don't know if that is a problem, but it doesn't work.
Here is my C# definition:
OBJECT.story.BindExternalFunction("EvaluarSkill", (string accionaevaluar, string personaje, int dificultad, string versus, string tipo) => { return EvaluarSkill(accionaevaluar, personaje, dificultad, versus, tipo); });
The C# error that I get is: "the delegate 'Func' cannot take 5 elements" or "the delegate 'Func' cannot take 5 arguments" in Unity
The C# function EvaluarSkill has 5 parameters, that is not the problem, and the EXTERNAL definition in ink has also 5 parameters
I have 20 EXTERNAL functions defined in the same way and all others work, except this one.
Can Anyone help me?
Thanks a lot!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.