Beispiel #1
0
 private void Update()
 {
     HandleRotation(Input.GetAxis("Horizontal"));
     if (Input.GetButton("Thrust"))
     {
         _thruster.Thrust();
     }
     if (Input.GetButtonDown("Fire1"))
     {
         HandleFire();
     }
 }