// Start is called before the first frame update void Start() { init = GetComponent <BallInitMove>(); myRB = GetComponent <Rigidbody2D>(); scoreLeftOriginal = 0; scoreRightOriginal = 0; }
// Start is called before the first frame update void Start() { init = GetComponent <BallInitMove>(); myRB = GetComponent <Rigidbody2D>(); scoreLeft = 0; scoreRight = 0; shake = cam.GetComponent <CameraShake>(); audio = GetComponent <AudioSource>(); }