No GameObject category in Execute Function (mp)

Forums 💬 NodeCanvas ⚙️ Support No GameObject category in Execute Function (mp)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17633
    timv
    Participant

      I have the feeling I’m missing something. How do I call GameObject’s SetActive function? Is there no predefined Action Task that can do this? I can’t find GameObject when using “Execute Function (mp)”.

      #17635
      Gavalakis
      Keymaster

        Hello,

        Indeed, the “GameObject” type does not show in the reflected functions (only Component types show there).
        There is however a predefined action for that, under “GameObject/Set Visibility”. (I’d probably need to change it’s name to “Set Active”).

        Let me know if that action works for you.
        Thanks.

        #17634
        timv
        Participant

          Found it, thanks. Indeed “Set Visibility” is a bit confusing.

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