public void JumpStomp () { if (!jumping && grounded) { jumping = true; rigidbody2D.AddForce (new Vector2 (0f, (jumpForce*1.5f))); // Debug.Log ("Doing Jump Stomp Attack"); anim.SetTrigger("char_stomp"); FireAttackActionEvent(Attack.JUMPSTOMP); } }