Search Unity

Question How edit only one text (TextMeshPro) without influencing other TMP texts

Discussion in 'UGUI & TextMesh Pro' started by KORBABO, May 12, 2021.

  1. KORBABO

    KORBABO

    Joined:
    Mar 2, 2021
    Posts:
    4
    I cannot edit just one specific text, all settings apply to all existing TextMeshPro. The only difference between the two attached images is that I changed the thickness of the outline from 1 to 0.

    [1]: https://skr.sh/s81GnB2TcyA

    [2]: https://skr.sh/s81dCNfuV44
     
    JAMvlc likes this.
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Since most of the visual FX that can be applied to the text are achieved by modifying material properties, any text object that share this same material will see those changes reflected on those text objects.

    Since from a design point of view text objects tend to share similar visual treatment / styles, designers will define several Material Presets which are then assigned to the relevant text objects. Please see the following video to familiarize yourself with Material Presets.



    Alternatively, if you need each text object to have a unique visual treatment, this is when you would create material instance unique for each text object.
     
    ajeets1978, howler123 and KORBABO like this.
  3. KORBABO

    KORBABO

    Joined:
    Mar 2, 2021
    Posts:
    4
    Thank you very much it helped a lot