Город МОСКОВСКИЙ
00:04:35

Drag & Move a Camera in Unity 2D | Bite-Sized Tutorials

Аватар
Игровые Технологии
Просмотры:
29
Дата загрузки:
25.10.2023 15:34
Длительность:
00:04:35
Категория:
Обучение

Описание

A simple way to drag your camera in Unity 2D using the New Input System.

In case you want to know more about how to set up the new Input System, I have a video here: https://youtu.be/WNV9l04s8t4

Let me know if you need help with anything!

The script: https://github.com/agoodboygames/Drag-Move-a-Camera-in-Unity-2D/blob/main/CameraDrag.cs

► Subscribe: https://www.youtube.com/@agoodboygames?sub_confirmation=1

● Twitter: https://twitter.com/agoodboygames/
● GitHub: https://github.com/agoodboygames/

#unity3d #unitytutorial #gamedev

0:00 - Setting up Input System
1:26 - Writing code
3:50 - The results

Рекомендуемые видео