Beispiel #1
0
 private void PowerJump()
 {
     _rgdBody.AddForce(new Vector2(0f, PowerJumpForce));
     _anim.SetTrigger("powerJump");
     AudioSource.PlayClipAtPoint(JumpSound, transform.position);
     _counterController.DecrementJumpCounter();
 }