How to add subtitles to your game [Unity Tutorial]

Поділитися
Вставка
  • Опубліковано 28 жов 2024

КОМЕНТАРІ • 23

  • @boycececil3727
    @boycececil3727 3 роки тому

    Being the 100 thumbs up! And this acctually shows that you use scriptable database to create audioobject and put subtitle string and audio into the same object which is a very clear way to store data.

  • @darowebros
    @darowebros 3 роки тому

    hey man its been a minute since you last uploaded excited for the next one!

    • @comp3interactive
      @comp3interactive  3 роки тому

      Yeah man. I'm planning on getting some recording done soon, just been a really hectic time recently for me so it's kinda taken a back seat

  • @MrReallefauve
    @MrReallefauve 3 роки тому

    loud and clear, thanks man, very good trick using scriptable objects, I just had to think about it before xD

  • @yakuphanci
    @yakuphanci 2 роки тому

    Really good work 👍

  • @briangular2115
    @briangular2115 2 роки тому

    pretty awesome, thank you

  • @danieljohnson1167
    @danieljohnson1167 2 роки тому

    Loved the tutorial you made, it was executed nicely and the code was easier to read. I have a question for ya. You mentioned making an array of some sort for the Say function for longer subtitle and audio dialogue, which of the variables in your tutorial would you make an array and how would it be processed?

    • @comp3interactive
      @comp3interactive  2 роки тому +4

      I can do an additional tutorial for this, but basically you'd need to create an array of the AudioObject and play through all of them, waiting for the clip length like in the tutorial PLUS a response delay so it isn't a continuous noise
      For example. Clip 1 would be 10 seconds long, so you'd wait the 10 seconds and then an additional 1 second of silence before auto playing the second clip and so on

    • @danieljohnson1167
      @danieljohnson1167 2 роки тому

      @@comp3interactive thanks for getting back to me! :D I'm definitely checking that tutorial out. Keep up the great work!

    • @danieljohnson1167
      @danieljohnson1167 2 роки тому

      @@comp3interactive Sorry to bug about this again, would I make the array of Audio clip in the subtitle vocals script or the audio object script?

    • @lukasstryg3688
      @lukasstryg3688 2 роки тому

      @@comp3interactive Would you be able to make some code to show how to implement it?

  • @bloodybeats4101
    @bloodybeats4101 2 роки тому

    Im getting this error when i try to run.
    Assets\UI.cs(22,24): error CS7036: There is no argument given that corresponds to the required formal parameter 'delay' of 'UI.ClearAfterSeconds(float)'
    not sure why its saying this. I can shoot you an email with the script. Its the same as the way you wrote it.

  • @Dev_Roids
    @Dev_Roids 6 місяців тому

    Thanks

  • @jabezy1968
    @jabezy1968 2 роки тому

    Is it possible to not hear the audio or see the subtitles again after activating it the first time? Very good tutorial!

    • @muhendisbibey
      @muhendisbibey 2 роки тому

      It is a late respond but you can destroy de trigger object which disabled the mesh renderer controller.

    • @limqueenyt
      @limqueenyt 2 роки тому

      @@muhendisbibey Hi, may I ask where to add this destroy trigger..?

    • @bytefloww
      @bytefloww Рік тому

      You can add a bool to check if it already played

  • @lukaspaver
    @lukaspaver Рік тому

    amazing

  • @darkman237
    @darkman237 3 роки тому

    Could you use the observer pattern here?

  • @Bobster536
    @Bobster536 2 роки тому +1

    This video goes through stuff super fast. Could be a 40min video if you explained all the functionalities you use along the way xd Trying to keep up either way

  • @Criggidycroo
    @Criggidycroo 9 місяців тому

    i love you

  • @dragzayn7054
    @dragzayn7054 2 роки тому

    Hello sir!
    Sir I have a doubt which language ur using in video?..

  • @alperaydin7011
    @alperaydin7011 3 роки тому

    Thanks