Q:

how to make a 3d object do something when clicked on

 using UnityEngine;
 using System.Collections;
 
 public class OnMouseDownExample : MonoBehaviour 
 {
     void OnMouseDown()
     {
         print (name);    
     }
 }
0

New to Communities?

Join the community