Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Use Timeline to set sub-title on UI

Discussion in 'Timeline' started by Klamore74, Jun 9, 2017.

  1. Klamore74

    Klamore74

    Joined:
    Jun 17, 2013
    Posts:
    103
    I want to display some text on screen during the animation. How can I do that?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    The simplest way is to set up the text in the scene on a disabled object and use an Activation Track to turn it on.
     
  3. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    A more complex way is to create your track to handle it. Here's an example that will add a custom track that can set the title and color on a UI Text component.
     

    Attached Files:

  4. Klamore74

    Klamore74

    Joined:
    Jun 17, 2013
    Posts:
    103
    Wow, very powerful, this example is exactly what I looking for.

    Thanks!
     
  5. Endar

    Endar

    Joined:
    Aug 13, 2014
    Posts:
    3
    Thank you for this example seant_unity! This should be included in the editor!
     
  6. Kiba123

    Kiba123

    Joined:
    Dec 1, 2018
    Posts:
    3
    First of all thanks Seant_Unity for saving me a lot of time in scripting the Subtitles!!!!

    Btw is possible to upgrade this with TextMeshpro? :rolleyes::rolleyes:

    Also i have a script that make the text write letter by letter, but the Subtitle track is just ignore him, o_O Any idea how to do this? Thanks
     
  7. Ash-Blue

    Ash-Blue

    Joined:
    Aug 18, 2013
    Posts:
    102
    Volkerku and seant_unity like this.
  8. CRISTALSONIC

    CRISTALSONIC

    Joined:
    Sep 22, 2016
    Posts:
    136
    is this your script? i feel thee need to credit you lol