Select your preferred scripting language. All code snippets will be displayed in this language.
The alignment of the text.
guiText.alignment = TextAlignment.Left;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { guiText.alignment = TextAlignment.Left; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: guiText.alignment = TextAlignment.Left