Unfortunately right now, only one parameter is possible for events. The reason behind this was performance and to avoid boxing by using generics, but on the other I couldn’t use more than one generic argument due to having those generics possible to also work on AOT.
Probably the best solution at the moment, would be to create a simple struct that includes all parameters you need, and have your event send that as a single parameter. It’s really not the best solution though, and this is the reason I am looking at improving events to support more than one argument.
Just to clarify though, are you talking about “Check Custom Event”, or “Script Control/Check CSharpEvent”?
Let me know.
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.