A video about how to restrict, or limit, the camera movement in Unity 2D. It's been done before, but way too complicated and/or not dynamic, and this is a way for you to not care about the size of your play field.
This isn't a video about moving your camera, but I have two tutorials on my channel if you want to get started on that.
Smooth Camera Follow - • Smooth Camera Follow i...
Drag & Move a Camera in Unity 2D - • Drag & Move a Camera i...
Let me know if you need help with anything!
The scripts: github.com/chunkybacongames/R...
► Subscribe: / @chunkybacongames
● Twitter/X: x.com/chunkybaconYT/
● GitHub: github.com/chunkybacongames/
#unity3d #unitytutorial #gamedev
0:00 - Intro
0:35 - Unity
1:07 - Code
5:02 - The results
Негізгі бет Restrict Camera Movement within Bounds in Unity 2D | Bite-Sized Tutorials
Пікірлер: 16