private void Start() { leftBallScript = FindObjectOfType <LeftBall>(); ballHolder = GetComponentInParent <BallHolder>(); finishedMoving = true; inMidTrigger = false; }
private void Start() { gameOverCanvas.SetActive(false); youWinCanvas.SetActive(false); rightBall = FindObjectOfType <RightBall>(); leftBall = FindObjectOfType <LeftBall>(); gameManager = GetComponent <GameManager>(); }
private void Start() { currentTime = startingTime; leftBallScrip = FindObjectOfType <LeftBall>(); rightBallScript = FindObjectOfType <RightBall>(); }
private void Start() { leftBallScript = GetComponentInChildren <LeftBall>(); rightBallScript = GetComponentInChildren <RightBall>(); ogJumpPower = jumpPower; }