Versions with this page:
Versions without this page:
The Left (or primary) mouse button.
Use this to detect left mouse button presses. The “0” mouse button is the main button on the user’s mouse, which is usually the left mouse button.
using UnityEngine;public class Example : MonoBehaviour
//Detect if the left mouse button is pressed
Debug.Log("Mouse 0 ");