GUIText.pixelOffsetvar pixelOffset : Vector2DescriptionThe pixel offset of the text. The text is offset from its original position by this amount.
JavaScripts
guiText.pixelOffset = Vector2 (10, 10);
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { guiText.pixelOffset = new Vector2(10, 10); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): guiText.pixelOffset = Vector2(10, 10) |
