In this video, we will discuss how to restrict our player's movements through the y-axis in the game view. we will use a combination of if-else statements along with transform. position to achieve our results.
VID12 Restricting Player's Movement Along Y-Axis | Unity Tutorial in Hindi