Beispiel #1
0
 private void HandInput()
 {
     if (Input.GetMouseButtonDown(0))
     {
         handController.PickUpObject();
         playerController.animator.SetBool("Lifting", true);
     }
     if (Input.GetMouseButtonUp(0))
     {
         handController.DropObject();
         playerController.animator.SetBool("Lifting", false);
     }
 }