siiick, but if you can change the gravity mid air, you can just make your character fly, but if you don't want to do that, use Physics2d OverLapCircle and a boolean to help decide if you can switch gravity if you are grounded.
Thank you for your help
no problem