Ejemplo n.º 1
0
 void HandleShooting()
 {
     /*
      * if (playerActions.leftAbility.WasPressed)
      * {
      *  leftConfig.TriggerPressed();
      * }
      * if (playerActions.rightAbility.WasPressed)
      * {
      *  rightConfig.TriggerPressed();
      * }
      */
     if (Input.GetMouseButtonDown(0))
     {
         leftConfig.TriggerPressed();
     }
 }