public void PlayerEnterUltraJump() { mAnimator.SetInteger("State", (int)PlayerAnimation.PlayerUltraJump); AudioManager.instance.PlaySoundOverlap("jump"); mRigidBody2D.velocity = Vector3.zero; mRigidBody2D.AddForce(transform.up * ultraJumpHeight, ForceMode2D.Force); mPlayerSprite.ActivateTrail(); GameEventManager.Instance.CallEvent(ApplicationConstants.EVENT_PLAYER_DOUBLE_JUMP, ActionParams.EmptyParams); }