System.Object in PreferedTypes

Forums 💬 NodeCanvas 🗨️ General Discussion System.Object in PreferedTypes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14547
    pjohalloran
    Participant

      Is there any reason why System.Object cannot be selected in the PreferedTypes editor? Did you think its not needed or that maybe its a bad idea to include it there?

      (I need to pass a List<System.Object> to a node to avoid too much of a code change elsewhere in my project)

      #14551
      pjohalloran
      Participant

        Was able to add it myself with a hacky change to the PreferedTypesEditoWindow

        I wonder would you consider adding this feature (possibility of System.Object into preferred types)?

        #14550
        pjohalloran
        Participant

          Actually, never mind, i can just wrap the List<Object> in another type and pass that to a node instead that is in Prefered Types list and no need then for any change!

          #14549
          Gavalakis
          Keymaster

            Hello,

            I will add System.Object in the types to choose regardless 🙂
            No it’s not a bad idea. It’s fine to use system.object of course 😉

            Cheers!

            #14548
            pjohalloran
            Participant

              Thanks!

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