void Start () { levelManager = GameObject.FindObjectOfType<LevelManager>(); paddle = GameObject.FindObjectOfType<Paddle>(); paddleToBallVector = this.transform.position - paddle.transform.position; if (levelManager.AutoplayReturn()) { LaunchBall(); } }