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

ความคิดเห็น • 13

  • @_virtualbeings_
    @_virtualbeings_ ปีที่แล้ว +2

    The best kind of tutorial: short, dense, relevant, the result is correct and there's a link to a gist. Thanks, this was great!

  • @melrellid
    @melrellid ปีที่แล้ว +3

    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.

  • @hamidmactabi6269
    @hamidmactabi6269 10 หลายเดือนก่อน +1

    tnx, this tutorial was so great. it was exactly the thing I was looking for.

  • @memoryLayer
    @memoryLayer ปีที่แล้ว

    So underrated channel. Such a perfect tutorial, thanks a lot man

  • @ErenBR562
    @ErenBR562 ปีที่แล้ว +1

    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!

  • @KomodozGaming
    @KomodozGaming ปีที่แล้ว +1

    why i can't add using UnityEngine.inputSystem in my editor?

    • @GameDevGeeks
      @GameDevGeeks  ปีที่แล้ว +1

      you need to install the input system from the package manager first and set it as the active input handling. sorry for late respond

  • @Mastoa
    @Mastoa 10 หลายเดือนก่อน

    Very nice video
    keep it up

  • @skysoarchronicles
    @skysoarchronicles ปีที่แล้ว

    Hi im looking for a way around for ar camara zoom in and out using the real camara. Any hints?

    • @GameDevGeeks
      @GameDevGeeks  ปีที่แล้ว +1

      I can't help you due to lack of experience with AR apps, sorry mate!

  • @mohamedmusthafa1057
    @mohamedmusthafa1057 ปีที่แล้ว

    Nice work ❤

  • @simple_idiot
    @simple_idiot ปีที่แล้ว

    👍Good

  • @kazeki3135
    @kazeki3135 11 หลายเดือนก่อน

    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.