public GameObject gameObject;
AudioSource _audioSource;
_rigidBody = gameObject.GetComponent<Rigidbody>();
_audioSource = gameObject.GetComponent<AudioSource>();
float horizontalInput = Input.GetAxis("Horizontal");
gameObject.transform.Translate(Vector3.forward * Time.deltaTime);