Beispiel #1
0
 public void Update()
 {
     _shipMotorInstance.Move(Input.GetAxis("Vertical"), Input.GetAxis("Horizontal"));
     if (Input.GetButton("Jump"))
     {
         _shipMotorInstance.Shoot();
     }
 }