Basically, in classic Mario, the player falls quicker than it reaches the "top" of the jump while jumping. This video provides a quick example as how to emulate this effect in Unity. Pretty simple, might not be the best code, but good basic game design lesson. Learnt something new from it.