Horje
how to detect a mouse click in unity Code Example
how to detect a mouse click in unity
using UnityEngine;
using System.Collections;

		if (Input.GetMouseButtonDown(0)) {
        	//Left Mouse Button
        } else if (Input.GetMouseButtonDown(1)) {
        	//Right Mouse Button
        } if (Input.GetMouseButtonDown(2)) {
        	//Middle Mouse Button
        }




Csharp

Related
how to edit postprocessing through script Code Example how to edit postprocessing through script Code Example
c# check if type implements interface Code Example c# check if type implements interface Code Example
how to change the color of your text in c# Code Example how to change the color of your text in c# Code Example
ksi Code Example ksi Code Example
unity reset rigidbody velocity Code Example unity reset rigidbody velocity Code Example

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