How to click, drag, and drop 3D objects in Unity

How to click, drag, and drop 3D objects in Unity

Midnite Oil Software LLC

54 года назад

899 Просмотров

In this Unity tutorial I teach you how to make 3D objects clickable, draggable and droppable. This approach works with both the old Unity Input Manager and the new Input System.

You can download this package from GitHub and import it directly into your project:
https://github.com/Midnite-Oil-Software-L-L-C/drag_and_drop.git

The models I used in this tutorial are free on the Unity Asset store:
https://assetstore.unity.com/packages/3d/props/pbr-little-games-pack-4k-237164?aid=1100lzsEu

The Object Pool Manager I use in the tutorial is also free on the Unity Asset store:
https://assetstore.unity.com/packages/tools/utilities/object-pool-manager-227215?aid=1100lzsEu

You can grab the entire tutorial project from my GitLab repository (you will need to install several packages to build it):
https://gitlab.com/midnite-oil-software-tutorials/drag-and-drop-tutorial

Be sure to wish list my upcoming Highland Panic game on Steam:
https://store.steampowered.com/app/2391990/Highland_Panic/?beta=0

You can also join the beta program for the iPhone version:
https://testflight.apple.com/join/3mtIkaAv

Or join Open Testing on Google Play to try the Android version:
https://play.google.com/apps/testing/com.midniteoilsoftware.highlandpanic

If you'd like to offer any suggestions or comments or have any questions join my Discord and post them there:
https://discord.gg/wrdqXPtw9y

In case you'd like to show your support by buying me a coffee:
https://ko-fi.com/gregorybradburn

Unity Asset Store Links
Top New Assets: https://assetstore.unity.com/top-assets/top-new?aid=1100lzsEu
Top Downloads: https://assetstore.unity.com/top-assets/top-download?aid=1100lzsEu

If you're thinking of subscribing to any Unity subscription products, use these links:
Unity Plus: https://prf.hn/click/camref:1100lzsEu/destination:https://store.unity.com/products/unity-plus
Unity Pro: https://prf.hn/click/camref:1100lzsEu/destination:https://store.unity.com/products/unity-pro
Unity Learn Premium: https://prf.hn/click/camref:1100lzsEu/destination:https://unity.com/learn-premium
Unity Partner Courses: https://prf.hn/click/camref:1100lzsEu/destination:https://unity.com/learn/partner-courses

#unitytuturial #unity2d #unity3d #madewithunity #indiegamedev #indiedev #indiegames

Тэги:

#unity3d #made_with_unity #unity_tutorial #tutorials #drag_and_drop #new_unity_input_system #board_games #chess #dice
Ссылки и html тэги не поддерживаются


Комментарии: