void Start() { player = GameObject.FindGameObjectWithTag("Player").GetComponent <BallRoll>(); //Calls apon the player (Ball) class }
void Start() { player = GameObject.FindGameObjectWithTag("Player").GetComponent <BallRoll>(); //This allows the console to know where to get the infomation for the player, this will get the health of the player. }