Hello,
I have created script that shows points, it shows in game i have tested but its ugly i would change the font and stuff but i need GUISkin
what to change in this script to make it work ?
static var points : int = 0;
var offsetY : float = 40;
var sizeX : float = 100;
var sizeY : float = 40;
function Start () {
points = 0;
}
function OnGUI () {
GUI.Box (new Rect (Screen.width/2-sizeX/2, offsetY, sizeX, sizeY), "Score: " + points);
}
Thanks!!