Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question what's a good way to have add animated game objects to your UI?

Discussion in 'UGUI & TextMesh Pro' started by Mike01923, Apr 13, 2024.

  1. Mike01923

    Mike01923

    Joined:
    Jun 19, 2015
    Posts:
    199
    Currently I have the game objects instantiated after 1 frame when a menu is enabled so that it can position itself properly, although that leads to a slight pop-in. also, when the scene is changing, and UI is being enabled, that leads to extra work of having to detect the scene is done loading in order to instatiate the game object. then you need even more code to create that object when the scenes aren't changing. in addition, you'll need to customize the scaling of the object to match the UI size. it seems way more difficult than it should be.

    are there any better methods for including animating game objects with UI or possibly a native solution that's as easy as creating canvas objects?