View by Component
Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR
Get Object from Mouse Click and Call Functions through Interface 2D & 3D - Unity Tutorial
Uploaded by samyamShare: Twitter Facebook
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 Source Code ?
https://www.patreon.com/posts/get-object-from-41358553
? Relevant Video Links ?
ᐅPrevious Video - Custom Cursor with Input System - Unity 2020 Tutorial:
https://youtu.be/PTL19bXCsNU
ᐅCoin Animation
https://opengameart.org/content/coin-animation
ᐅKenney's Game Icons (expansion):
https://www.kenney.nl/assets/game-icons-expansion
ᐅForest - Low Poly Toon Battle Arena / Tower Defense Pack
https://assetstore.unity.com/packages/3d/environments/forest-low-poly-toon-battle-arena-tower-defense-pack-100080
ᐅCustomizable skybox
https://assetstore.unity.com/packages/2d/textures-materials/sky/customizable-skybox-174576
? Support Me ?
Patreon: https://www.patreon.com/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/tools/utilities/peek-editor-toolkit-149410
ᐅEditor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
ᐅRainbow Folders 2: https://assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526
⏱️ 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 ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/mj3dSnmaZc
? Twitter ?
https://twitter.com/samyam_utube
? Facebook ?
https://www.facebook.com/samyam.youtube/
? Music ?
Fretless by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/3777-fretless
License: http://creativecommons.org/licenses/by/4.0/
? Like and Subscribe! ?
?️ Computer Setup ?️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam
#unity3d #unitytutorial #gamedevelopment
? Get the Source Code ?
https://www.patreon.com/posts/get-object-from-41358553
? Relevant Video Links ?
ᐅPrevious Video - Custom Cursor with Input System - Unity 2020 Tutorial:
https://youtu.be/PTL19bXCsNU
ᐅCoin Animation
https://opengameart.org/content/coin-animation
ᐅKenney's Game Icons (expansion):
https://www.kenney.nl/assets/game-icons-expansion
ᐅForest - Low Poly Toon Battle Arena / Tower Defense Pack
https://assetstore.unity.com/packages/3d/environments/forest-low-poly-toon-battle-arena-tower-defense-pack-100080
ᐅCustomizable skybox
https://assetstore.unity.com/packages/2d/textures-materials/sky/customizable-skybox-174576
? Support Me ?
Patreon: https://www.patreon.com/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/tools/utilities/peek-editor-toolkit-149410
ᐅEditor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
ᐅRainbow Folders 2: https://assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526
⏱️ 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 ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/mj3dSnmaZc
? Twitter ?
https://twitter.com/samyam_utube
? Facebook ?
https://www.facebook.com/samyam.youtube/
? Music ?
Fretless by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/3777-fretless
License: http://creativecommons.org/licenses/by/4.0/
? Like and Subscribe! ?
?️ Computer Setup ?️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam
#unity3d #unitytutorial #gamedevelopment