Myvideo

Guest

Login

EASY Drag and Drop for UI - Unity Tutorial

Uploaded By: Myvideo
1 view
0
0 votes
0

➡️➡️➡️UNITY BLACK FRIDAY SALE ⬅️⬅️⬅️ ⏱️ November 14 21:00 PT - December 4 23:59 PT ⏱️ 📥 Get the Source Code 📥 🤝 Support Me 🤝 Patreon: Donate: ►🔗 Relevant Video Links 🔗 ᐅ(PREVIOUS VIDEO) Easy Drag and Drop with Input System 2D | 3D - Unity Tutorial ᐅ Unity Documentation ᐅInterface IDragHandler Documentation: @1.0/api/ ►Assets shown in this video: ᐅGUI PRO Kit - Fantasy RPG: ᐅAlien Fantasy Forest: ᐅOdin - Inspector and Serializer: ᐅHQ FPS Weapons: ᐅDreamteck Splines: ᐅFirst person narrative adventures complete puzzle engine: ᐅNature Renderer: Personal License: ᐅThe Vegetation Engine: ᐅExpanse - Volumetric Skies, Clouds, and Atmospheres in HDRP: ᐅFantastic City Generator: ᐅRPG Character Mecanim Animation Pack: ᐅPOLYGON Dungeon Realms - Low Poly 3D Art by Synty: ᐅAnimancer Pro: This video shows an easy built in way to drag and drop a UI object in Unity. You can also drag and drop a 2d collider and 3d collider object by adding the respective Physics Raycaster components to the camera, however the actual logic for correctly dragging and dropping a 3d object taking into account perspective is not covered in this video. For more information on that refer to my previous video (). We use the IDragHandler interface and implement it. We then convert our mouse position which is in screen coordinates to world coordinates with respect to the RectTransform. ►⏱️ Timestamps ⏱️ 0:00 Intro 0:13 Sponsored Message 0:43 Scene Setup 1:51 Drag And Drop 7:20 IBeginDrag or IEndHandler 7:44 Physics Raycaster for Colliders 8:41 Outro 💖💖THANK YOU TO ALL MY PATRONS 💖💖 ❯❯❯ My Links ❮❮❮ 💗 Patreon 💗 💬 Discord Server 💬 🐦 Twitter 🐦 📚 Facebook 📚 🎵 Music 🎵 Ambient Gold 👍 Like and Subscribe! 👍 🖥️ Computer Setup 🖥️ *As an Amazon Associate I earn from qualifying purchases. Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets! #madewithunity #gamedev #unity

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later