// Use this for initialization void Start() { goal.SetLevel(levelNumber); // set the goals level so it can only be completed by its levels ball ball.SetLevel(levelNumber); //set the ball's level so it can only complete its level }
// Use this for initialization void Start() { goal.SetLevel(levelNumber); // set the goals level so it can only be completed by its levels ball ball.SetLevel(levelNumber); //set the ball's level so it can only complete its level }