Talk:Compass
From Unify Community Wiki
When I try to run this script, the console says that the name sender doesn't denote a valid type. Do I need something extra? Any help would be appreciated.
Thanks in Advance!
- This script seems to be intended to demonstrate the Sender script that's linked at the top of the page. If you don't want to send the result over a TCP port, you should just remove every line referring to Sender and do some other meaningful thing with the heading variable. For example, you could link the script to a GUIText or TextMesh to have them display the value, or you could write an OnGUI function, or you could use the value to set the orientation of a Transform. --NCarter 00:51, 29 October 2010 (PDT)