I am very new to scripting nad need help. Erro: Assets/Scripts/GameMaster.js(6,22): BCE0024: The type ‘UnityEngine.Rect’ does not have a visible constructor that matches the argument list ‘(float, int)’.
#pragma strict
static var currentScore : int = 0;
function OnGUI () {
GUI.Box (new Rect (Screen.height*0.5, Screen.width/2), 200, 200, "score");
}
Please tell me exactly what I should do and what I should type!