system
1
Simple enough, I am trying to add a GUIText element to my scene with a fixed position on the top-left corner.
I found this related post here for positioning, but when I use that code in a js script attached to the GUIText element I am getting a nice:
BCE0019: 'position' is not a member of 'UnityEngine.GUIText'.
Any help appreciated!
system
2
Found a solution:
guiText.pixelOffset = new Vector3(- Screen.width/2 + 5, Screen.height/2 -5, 0);
Feels like the old days of coding blind! Hope it helps someone else.