Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question make new paragraph from Text

Discussion in 'UGUI & TextMesh Pro' started by Rachan, Sep 8, 2023.

  1. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    691
    Hi there!

    I using legacy Text and I want to know
    how to make new paragraph in text

    such as

    1 -------------------
    2 -------------------
    __-------------------
    3 -------------------
    __-------------------
    4--------------------
    5--------------------

    you can see a space of each line after number, will extended
    and go back to begin if new number line.
    so, is this possible?

    because, for now I just got this

    1 -------------------
    2 -------------------
    ---------------------
    3 -------------------
    ---------------------
    4--------------------

    every line has same start position

    any idea?

    Thanks!!!
     
  2. miguel0l

    miguel0l

    Joined:
    Nov 10, 2021
    Posts:
    13
    Hmm, not too sure what ur trying to do but if ur trying to make a new paragraph in text, does pressing the Enter key not work? that'll create a line break for you so u can segment your text into paragraphs. If you need to add a spacing in between those line breaks, you can press Space ig.

    If that doesn't help, you can try looking at this tutorial:
     
    Rachan likes this.