Tuesday, December 14, 2010

Week 6: Programming

var health= 100;

function OnGUI () {

GUI.Label(Rect(Screen.width - 100, 10, 200, 50),"Enemy Health: " + health);

}

No comments:

Post a Comment