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. Dismiss Notice

What does extents mean?

Discussion in 'UGUI & TextMesh Pro' started by ngserdna, Oct 31, 2016.

  1. ngserdna

    ngserdna

    Joined:
    Mar 16, 2015
    Posts:
    1
    CGDever likes this.
  2. CGDever

    CGDever

    Joined:
    Dec 17, 2014
    Posts:
    154
    I also can not understand it (
     
  3. tinyant

    tinyant

    Joined:
    Aug 28, 2015
    Posts:
    119
    it's something like
    if you want to get text height u need set the vector2.x to origin rect width.
    than u will get right height depend on setted extents.x
     
  4. CGDever

    CGDever

    Joined:
    Dec 17, 2014
    Posts:
    154
    Thank you!