Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

SetParent?

Discussion in 'Project Tiny' started by andrewmil, Jan 2, 2019.

  1. andrewmil

    andrewmil

    Joined:
    Dec 30, 2018
    Posts:
    10
    I want to instantiate entities to the Canvas. But it looks like they instantiate into the root of the EntityGroup.
    How i can move them onto the Canvas? Are there any functions like SetParent or perhaps there is another way?
     
  2. andrewmil

    andrewmil

    Joined:
    Dec 30, 2018
    Posts:
    10
    Update: I find "parent" in ut.Core2D.TransformNode. It works for me!
     
unityunity