I can’t seem to access guiText.pixelOffset in C# without generating a Null Reference Exception.
I believe the problem can be recreated as follows:
Create a new project
Add a GUIText object to the scene
Create a new C# script and assign it to the GUIText object
Add this line to the Start function: Vector offset = guiText.pixelOffset
Run it
Am I missing something obvious (which I frequently do)?
Thanks.