Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UIElement and inline functionality

Discussion in '2018.1 Beta' started by vertxxyz, Feb 28, 2018.

  1. vertxxyz

    vertxxyz

    Joined:
    Oct 29, 2014
    Posts:
    109
    I'm wondering if UIElement has functionality for inline styles or inline Buttons.
    To implement a Button in the middle of a paragraph I've currently split the paragraph's words into individual labels and inserted a button in the middle.

    If this feature isn't available I'll probably make a small extension that can create inline styles using something like inline USS, as my experience of writing a largish bunch of paragraphs with inline colours and buttons was tedious, and I'd love to spare someone else the effort!
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
  3. vertxxyz

    vertxxyz

    Joined:
    Oct 29, 2014
    Posts:
    109
    Thanks, but UIElement is an editor interface, and Text Mesh Pro is runtime UI!
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    oh sorry for miss reading this :( i havent found any sollution for UIElement but its still beta so maybe a feature request is a good idea.