Sharp threshold of global existence for nonlinear Schrödinger equation with partial confinement. (July 2020)