Reply To: Generic Events with multiple parameters?

NodeCanvas Forums Support Generic Events with multiple parameters? Reply To: Generic Events with multiple parameters?

#13563
Gavalakis
Keymaster

Hey,

Thanks for the follow up.
Regarding “CheckCSharpEvent”, it only works with events of delegate type System.Action or System.Action<T>. The entries in the menu being disabled, means that none of the types in the PreferredTypes List (which is shown in the menu), has any public event System.Action.

If for example though, you create a class like so:

..and then add this “MyExampleType” in the PreferredTypes List, you will be able to see and select “MyExampleType.onEvent”, in the “CheckCSharpEvent” selection menu.

Let me know if you need any further clarification with this 🙂
Thank you.

Join us on Discord: https://discord.gg/97q2Rjh