Exemplo n.º 1
0
        private void Update()
        {
            if (!testMode)
            {
                return;
            }

            if (Input.GetKey(KeyCode.LeftArrow))
            {
                _ball.LeftTap();
            }

            if (Input.GetKey(KeyCode.RightArrow))
            {
                _ball.RightTap();
            }
        }