Skip to content

Instantly share code, notes, and snippets.

@tracend
Created March 29, 2011 23:43
Show Gist options
  • Save tracend/893581 to your computer and use it in GitHub Desktop.
Save tracend/893581 to your computer and use it in GitHub Desktop.
Unity3D: Updating a gui text field dynamically - Source: http://wiki.dreamsteep.com/Unity3d
function Update () {
var someNumber = groundtrigger.triggered;
var string= someNumber.ToString();
guiText.text = string; //typeof (groundtrigger.triggered);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment