Search Unity

How to make a Wave Text?

Discussion in 'Scripting' started by ImGundulf, May 31, 2020.

  1. ImGundulf

    ImGundulf

    Joined:
    May 17, 2020
    Posts:
    49
    Hey, I'm doing a wave game, and I need to have a text for displaying the current wave. Someone know how I should do it, please tell me how. Thanks :)
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    Do you mean something like:

    START WAVE 7!

    If so, just make a UI.Text object (check for UI tutorials) and turn it on when you want, populate its .text field with the string you want to display, and then turn it off after a bit.
     
  3. ImGundulf

    ImGundulf

    Joined:
    May 17, 2020
    Posts:
    49
    Ok thanks!
     
  4. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    Damn I thought we were going to see some word art in this thread:
     
    Kurt-Dekker likes this.