Search Unity

Question UGUI rect limits doubt.

Discussion in 'UGUI & TextMesh Pro' started by pineapuru, Jan 12, 2021.

  1. pineapuru

    pineapuru

    Joined:
    Mar 21, 2018
    Posts:
    46
    I'm trying to achieve something with the UGUI but I'm not sure if this is possible at all. I'm working on the UI for my dialogue system and I'm creating a speech bubble that increases size with the text. I had this idea of making the character name before the text, with a nice background, but was wondering if I can achieve something like this:



    Made that image because I had no clue on how to describe my goal, is that possible at all? Anyone has any suggestion? Another thing I was having trouble and would love to have any idea if it's possible to achieve this with the UGUI components without coding:



    I have no problem with coding these if necessary, but I see Unity has a lot of components to create nice user interface setups, if someone knows how to help I would appreciate a lot. :D