Every time i put
var Player : GameObject;
var Controls : component;
function Start () {
Player = GameObject.Find("Player");
Controls = Player.GetComponent("Controls");
}
the script is named Controls and it is on the Player GameObject.
it will find the Player, but will not find the Controls Script.
I need it to change the Score the player has.