EASY Drag and Drop for UI - Unity Tutorial
Автор: samyam
Загружено: 2021-11-11
Просмотров: 19276
Описание:
➡️➡️➡️UNITY BLACK FRIDAY SALE ⬅️⬅️⬅️
https://assetstore.unity.com/?aid=110...
⏱️ November 14 21:00 PT - December 4 23:59 PT ⏱️
📥 Get the Source Code 📥
/ 58469035
🤝 Support Me 🤝
Patreon: / samyg
Donate: https://ko-fi.com/samyam
►🔗 Relevant Video Links 🔗
ᐅ(PREVIOUS VIDEO) Easy Drag and Drop with Input System 2D | 3D - Unity Tutorial
• Easy Drag and Drop with Input System 2D | ...
ᐅRectTransformUtility.ScreenPointToWorldPointInRectangle Unity Documentation
https://docs.unity3d.com/ScriptRefere...
ᐅInterface IDragHandler Documentation: https://docs.unity3d.com/Packages/com...
►Assets shown in this video:
ᐅGUI PRO Kit - Fantasy RPG:
https://assetstore.unity.com/packages...
ᐅAlien Fantasy Forest: https://assetstore.unity.com/packages...
ᐅOdin - Inspector and Serializer: https://assetstore.unity.com/packages...
ᐅHQ FPS Weapons: https://assetstore.unity.com/packages...
ᐅDreamteck Splines: https://assetstore.unity.com/packages...
ᐅFirst person narrative adventures + complete puzzle engine: https://assetstore.unity.com/packages...
ᐅNature Renderer: Personal License: https://assetstore.unity.com/packages...
ᐅThe Vegetation Engine: https://assetstore.unity.com/packages...
ᐅExpanse - Volumetric Skies, Clouds, and Atmospheres in HDRP: https://assetstore.unity.com/packages...
ᐅFantastic City Generator: https://assetstore.unity.com/packages...
ᐅRPG Character Mecanim Animation Pack: https://assetstore.unity.com/packages...
ᐅPOLYGON Dungeon Realms - Low Poly 3D Art by Synty: https://assetstore.unity.com/packages...
ᐅAnimancer Pro: https://assetstore.unity.com/packages...
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 ( • Easy Drag and Drop with Input System 2D | ... ). 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 💗
/ samyg
💬 Discord Server 💬
/ discord
🐦 Twitter 🐦
/ samyam_utube
📚 Facebook 📚
/ samyam.youtube
🎵 Music 🎵
Ambient Gold
streambeats.com
👍 Like and Subscribe! 👍
🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam
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
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: