Trouble instantiating ui prefab as child

FlowCanvas Forums Support Trouble instantiating ui prefab as child

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

    #246
    Asynchronous
    Participant

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

    Attachments:
    You must be logged in to view attached files.
    #250
    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.

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

    #251
    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.

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

    #252
    Asynchronous
    Participant

    cheers.

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

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

    #258
    Asynchronous
    Participant

    Done 🙂

    #259
    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.