GUIText.anchorvar anchor : TextAnchorDescriptionThe anchor of the text.
JavaScript
guiText.anchor = TextAnchor.MiddleCenter; using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > GUIText | Switch to Component | |||
GUIText.anchorvar anchor : TextAnchorDescriptionThe anchor of the text.
JavaScript
guiText.anchor = TextAnchor.MiddleCenter; using UnityEngine; import UnityEngine |