Restrict Camera Movement within Bounds in Unity 2D | Bite-Sized Tutorials
Автор: chonk
Загружено: 2023-02-22
Просмотров: 15417
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 in Unity | Bite-Sized...
Drag & Move a Camera in Unity 2D - • Drag & Move a Camera in Unity 2D | Bite-Si...
Let me know if you need help with anything!
The scripts: https://github.com/chonkgames/Restric...
► Subscribe: / @chonkgames
● Twitter/X: https://x.com/chonkgames/
● GitHub: https://github.com/chonkgames/
● Discord: / discord
#unity3d #unitytutorial #gamedev
0:00 - Intro
0:35 - Unity
1:07 - Code
5:02 - The results
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: