private void Awake() { _sceneLoader = FindObjectOfType <SceneLoader>(); _gameStatus = FindObjectOfType <GameStatus>(); }
private void Awake() { _ball = FindObjectOfType <BallController>(); _gameStatus = FindObjectOfType <GameStatus>(); _startYPos = transform.position.y; }