Binding External Conditional Function #846
-
Is there a way to bind an external C# function that returns a boolean (or even better, an integer) that can then be used in the Ink logic? For example, let's say I have a C# that's And then in Ink, I want to be able to write I know I could bind the currencies balances to variables, but I'd actually like to use this for something where I have hundreds of currencies and don't want to bind all of them. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Joh answered me in another place, but this was exactly what the external functions were meant for, I just misunderstood the syntax.
I think I wanted to put the Blah directly in as an argument to BindExternalFunction, but either it's not possible or I was just doing it wrong. |
Beta Was this translation helpful? Give feedback.
Joh answered me in another place, but this was exactly what the external functions were meant for, I just misunderstood the syntax.
I think I wanted to put the Blah directly in as an argument to BindExternalFunction, but either it's not possible or I was just doing it wrong.