示例#1
0
 public void jump()
 {
     audioManager.playAudio(AudioEffects.jump);
     particleManager.emitJumpParticles(transform.position);
     rb2d.AddForce(Vector2.up * player.getStats().JumpForce);
 }