Horje
how to make a 3d object do something when clicked on Code Example
how to make a 3d object do something when clicked on
 using UnityEngine;
 using System.Collections;
 
 public class OnMouseDownExample : MonoBehaviour 
 {
     void OnMouseDown()
     {
         print (name);    
     }
 }




Csharp

Related
c# main Code Example c# main Code Example
get processor id c# web application Code Example get processor id c# web application Code Example
c# clear label text Code Example c# clear label text Code Example
unity draw ray from one object to another Code Example unity draw ray from one object to another Code Example
cs string to enum Code Example cs string to enum Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9