- Home
- >> Nerd Digest
- >> Unity3D
Your account has been flagged due to frequent spamming, you are not permitted to post comments. Contact admin@findnerd.com.
-
Getting Mouse Click Event form a 3d GameObject in Unity
over 9 years ago
We get a click event when we click a Button in UI , but how to get a click event while clicking on a GameObject from our scene .
It is very simple .
To get a click event from a object , add a collider to that object and then add a script to it with a simple Code :
using UnityEngine; using System.Collections; public class GetClick: MonoBehaviour { void OnMouseDown() { Debug.Log("GameObject Clicked"); } }
This script will give a click event from that GameObject .
Comment on it
Insert an Image
To select an image, click on it.
Image path:
Example : https://wmd-editor.com/images/cloud1.jpg
Positive Votes
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
SW1A 1AA
Negative Votes
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
No Comments
-
555-555-0199@example.com
0 Comment(s)