Get Object from Mouse Click and Call Functions through Interface 2D & 3D - Unity Tutorial

Publicado em: 10 Setembro 2020
no canal de: samyam
43,632
928

Learn how to use raycasts to click on objects with your mouse, and then make then execute functions via interfaces! I show how to do it in both 2D and 3D!

ᐅGet the full Source Code Bundle to my Unity Tutorials 🤓
https://sam-yam.itch.io/samyam-full-s...

📥 Get the Source Code 📥
  / get-object-from-41358553  

🔗 Relevant Video Links 🔗
ᐅPrevious Video - Custom Cursor with Input System - Unity 2020 Tutorial:
   • Custom Cursor with Input System - Unity Tu...  
ᐅCoin Animation
https://opengameart.org/content/coin-...
ᐅKenney's Game Icons (expansion):
https://www.kenney.nl/assets/game-ico...
ᐅForest - Low Poly Toon Battle Arena / Tower Defense Pack
https://assetstore.unity.com/packages...
ᐅCustomizable skybox
https://assetstore.unity.com/packages...

🤝 Support Me 🤝
Patreon:   / samyg  
Donate: https://ko-fi.com/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!

😎 Cool Unity Assets 😎
ᐅPeek - Editor Toolkit: https://assetstore.unity.com/packages...
ᐅEditor Console Pro: https://assetstore.unity.com/packages...
ᐅRainbow Folders 2: https://assetstore.unity.com/packages...

⏱️ Timestamps ⏱️
0:00 Intro
0:44 Recap
1:17 Set up Ray
3:55 Click 3D Objects
7:45 Click 2D Objects
10:40 Interfaces for Calling Functions

💖💖THANK YOU TO ALL MY PATRONS 💖💖

❯❯❯ My Links ❮❮❮
💗 Patreon 💗
  / samyg  
💬 Discord Server 💬
  / discord  
🐦 Twitter 🐦
  / samyam_utube  
📚 Facebook 📚
  / samyam.youtube  
🎵 Music 🎵
Fretless by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song...
License: http://creativecommons.org/licenses/b...
👍 Like and Subscribe! 👍

🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam

#unity3d #unitytutorial #gamedevelopment


Nesta página do site você pode assistir ao vídeo on-line Get Object from Mouse Click and Call Functions through Interface 2D & 3D - Unity Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário samyam 10 Setembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 43,632 vezes e gostou 928 espectadores. Boa visualização!