Pinch Zoom with New Input System in Unity!
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- Get the code here: gist.github.co...
in this video I'll show you how to zoom with mouse scroll and touch screen pinching using the new input system in unity!
you will learn how to setup Input Actions all with code and how to zoom a prespective camera.
how to detect swipe: • detect Swipe NEW Input...
how to rotate objects: • Rotate Objects with Ne...
how to drag and drop objects: • Drag and Drop with New...
--------------------------------------------------------------------------------------------------------------------
night vision effect: • NIGHT VISION IN UNITY
thermal vision effect: • Thermal Vision Shader ...
--------------------------------------------------------------------------------------------------------------------
explosion VFX: • Explosion VFX in Unity...
muzzle flash VFX: • Muzzle Flash VFX Graph...
camp fire VFX: • Camp Fire with VFX Graph
background music: • 🐾 LoFi Chillhop No Cop...
I hope you enjoyed this video!
subscribe and make my day :)
/ @gamedevgeeks
The best kind of tutorial: short, dense, relevant, the result is correct and there's a link to a gist. Thanks, this was great!
Would be nice to see a video where you implement camera dragging with touch as well. And maybe add the same for keyboard/scroll so its easy to debug on PC and there is no need to build to phone all the time.
tnx, this tutorial was so great. it was exactly the thing I was looking for.
So underrated channel. Such a perfect tutorial, thanks a lot man
Incredible! You deserve many subscribers! I just have a question, I'm using Unity's Third Person Asset, does it work there too? Since I have to put the inputs there in StandardInputs? Thanks!
why i can't add using UnityEngine.inputSystem in my editor?
you need to install the input system from the package manager first and set it as the active input handling. sorry for late respond
Very nice video
keep it up
Hi im looking for a way around for ar camara zoom in and out using the real camara. Any hints?
I can't help you due to lack of experience with AR apps, sorry mate!
Nice work ❤
👍Good
Would be nice to see a video where you implement camera dragging with touch 2 finger and scroll as well. And maybe add the same for keyboard/scroll so its easy to debug on PC and there is no need to build to phone all the time.