Search Unity

Question Is it correct that text mesh pro 3d object has Recttransform instead of transform component?

Discussion in 'UGUI & TextMesh Pro' started by URocks, Oct 14, 2020.

  1. URocks

    URocks

    Joined:
    May 1, 2014
    Posts:
    159
    I just want to use Textmesh from 3d object menu inside 3d scene but the object has recttransform instead of regular transfom, is it correct?
     
  2. dotsquid

    dotsquid

    Joined:
    Aug 11, 2016
    Posts:
    224
    Yes, it is correct.
    RectTransform is used by various components because it allows to easily set width, height, pivot etc.
     
    Stephan_B likes this.
  3. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    As per @dotsquid reply, the RectTransform is used to define the region where the text lives a.k.a a text container.
     
  4. URocks

    URocks

    Joined:
    May 1, 2014
    Posts:
    159
    Thank you for the answers