Reply To: GetEvent(T) doesn’t work OnClick()

FlowCanvas Forums Support GetEvent(T) doesn’t work OnClick() Reply To: GetEvent(T) doesn’t work OnClick()

#3437
dryrel
Participant

Hello again, The Unity events in the inspector like the button Click events only work with only one parameter and this parameter is reserved for the string name of the event of the flowscript, thus, unfortunately, calling T events is not possible with Unity events directly. Having said that, I could try to make it possible to pass parameters in parenthesis like you tried to do in the screenshot for the sake of making it able to call events with parameters this way. Let me know. Thank you.

Hello!

It would be great if you could do this.

But right now, how do you think I should solve what I want to do? I want to change those parameters via button.

Button (Prefab):

OptionTitle [<] OptionValue [>]

Each time the next [>] or [<] back button is pressed, the number of indexes changes and the text is set in the array.

However, it currently has no function. Since GetEvent(T) is not passed with OnClick(), how should I proceed?