TextMesh.alignmentvar alignment : TextAlignmentDescriptionHow lines of text are aligned (Left, Right, Center)
JavaScript
GetComponent(TextMesh).alignment = TextAlignment.Left; using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > TextMesh | Switch to Component | |||
TextMesh.alignmentvar alignment : TextAlignmentDescriptionHow lines of text are aligned (Left, Right, Center)
JavaScript
GetComponent(TextMesh).alignment = TextAlignment.Left; using UnityEngine; import UnityEngine |