Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

storybook GUI highlight

Discussion in 'Immediate Mode GUI (IMGUI)' started by zombie_farm, Dec 5, 2011.

  1. zombie_farm

    zombie_farm

    Joined:
    Jul 10, 2010
    Posts:
    14
    Can someone point me to a script or solution for highlighting text as a voice over is being read? Its seems simple enough but digging around I haven't found much. If you need an example just goto just about any kids storybook app, as the narrator says the word it will highlight.

    thanks
     
  2. hound0999

    hound0999

    Joined:
    Jun 30, 2009
    Posts:
    124
    You can use Formatted Label, which I happen to have been working on lately. Unity doesn't support highlighting text out of the box so to say. The command for highlighting the back ground of a word is [BC DBDB0F99] for yellow. You'll have to update the text as the reading goes along.

    Either that or you'll have to display some type of semi-transparent texture over the words as the reading occurs.
     
  3. smoggach

    smoggach

    Joined:
    Feb 13, 2014
    Posts:
    9
    hi zombie_farm I'm in the same boat 4 years later. Did you ever find a solution?