Unity Drag and Drop Script | (Unity 3D tutorial)
In this session, we'll walk through how to create a c# script that will allow us to drag and drop 3d objects in Unity. To illustrate our script, we'll assemble a small puzzle. Before you leave, hit those like and subscribe buttons, it helps the channel a lot and it's absolutely free. And as always, the link to the source code is available in the description.
► Socials
Twitter: https://twitter.com/the_real_aia
Discord: https://discord.gg/EqxuvWg
My games: https://aiadev.itch.io/
► Get the script: https://unicornone.gumroad.com/l/draganddrop3d
► Detailed info on Raycasting from camera: https://www.youtube.com/watch?v=7QomGnOyQoY
► Download Unity 3D: https://on.unity.com/3cbxhXY
For more educational content on video game development, unity tutorials, and c# programming don't forget to subscribe!
Chapters:
0:00 Introduction
0:27 Overview
0:50 Setup
2:15 Creating a unity drag and drop script
5:21 Picking up and moving a 3d object
9:23 Dropping a Unity3d object during run time
10:50 Rotating a Unity3d object during run time
12:08 Outro
····················································································
♪
#unity3d #unitytutorial #gamedev
Other Videos By AIA
2021-11-16 | Making A Unity Mini Golf Game (part 2) |
2021-10-26 | How to fix pixelated images caused by scaling in Unity |
2021-09-27 | How to Play Unity Sound Effects |
2021-09-21 | Make a Unity Glow Effect in 15 seconds |
2021-09-20 | Make a Unity Text Mesh Pro Custom Font (in 15 seconds) |
2021-09-19 | How To Make A Unity Mini Golf Game (part 1) |
2021-09-15 | Make a Unity 2D Camera Follow Player in 15 seconds |
2021-09-11 | Making a Unity Idle Game [EP 1] |
2021-09-02 | Simple Unity Character Customization Tutorial |
2021-08-30 | Unity Git Tutorial (Backup & version control) |
2021-08-26 | Unity Drag and Drop Script | (Unity 3D tutorial) |
2021-08-24 | How to EASILY make a TIMER in Unity |
2021-08-13 | Unity Button Tutorial |
2021-08-10 | Unity UI Tutorial | An introduction |
2021-08-06 | How to create an FPS display | Unity Tutorial |