Check CSharp Event with generic List type

Forums 💬 NodeCanvas ⚙️ Support Check CSharp Event with generic List type

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18508
    feelx
    Participant

      Hi,
      how would I go about if I have this:
      event Action MyAction<List<MyType>> OnMyAction;
      ?
      I have added MyType and also List<T> to the preferred Types, but can’t select my Action from the Check CSharp Event?
      Is this event possible? How can I achieve this?

      Thanks in advance! Great tool so far!

      #18509
      Gavalakis
      Keymaster

        Hello,

        Unfortunately right now the Check CSharp Event condition does not support List arguments. Basically it’s just a limitation of the UI menu that pops up for selecting a type, but I will take a look at this and see if I can implement List to be shown in that menu as well.

        Thanks for the suggestion and I am glad you like NodeCanvas 🙂

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.