Trouble instantiating ui prefab as child

Forums 💬 FlowCanvas ⚙️ Support Trouble instantiating ui prefab as child

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22978
    asynchronous
    Participant

      Hi flow crue, when I instantiate a ui prefab
      It is made at root of hierarchy, I use ‘set parent transform, but nothing seems to happen. From looking around, it seems that “.canvas” needs to be added to set parent, but haven’t tried custom node yet.any help would be appreciated, thanks.

      #22985
      asynchronous
      Participant

        no edit button, but here is screen shot of graph that drops prefab in hierarchy, but not as child?

        #22984
        Gavalakis
        Keymaster

          Hello,
          I’ve just tried something similar and it works correctly. The instantiated object is added as child to the parent.
          Are you using the latest version on the asset store?
          Please let me know.
          Thanks.

          #22983
          Gavalakis
          Keymaster

            I just realized you are referring specifically to a UI object. I will check this tomorrow first thing and will get back to you as soon as possible, since I am currently away and don’t have access to the project.
            Thank you.

            #22982
            asynchronous
            Participant

              cheers.

              #22981
              Gavalakis
              Keymaster

                Hello again,
                Sorry for late reply due to holidays.
                I just rechecked with a UI prefab and everything works as expected with the instantiated object being corectly parented to the target transform.
                Could you please send me a reproduction mini project to support@paradoxnotion.com in case the problem still persist in your case?

                Thanks!

                #22980
                asynchronous
                Participant

                  Done 🙂

                  #22979
                  asynchronous
                  Participant

                    It’s all, Good, Got It working, Not sure what I was doing wrong 🙂

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