System.Object in PreferedTypes

NodeCanvas Forums General Discussion System.Object in PreferedTypes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8839
    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)

    #8843
    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)?

    #8842
    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!

    #8841
    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!

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

    #8840
    pjohalloran
    Participant

    Thanks!

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