Answers for "unity left mouse button"

C#
14

unity left mouse button

//Key Code in the Input Project Settings is "mouse 0"
Input.GetKey(KeyCode.Mouse0))
Posted by: Guest on February-17-2020
2

GetMousebuttonDown unity

if (Input.GetMouseButtonDown(1))
//This is too stop spaming the gun
Posted by: Guest on July-23-2020

C# Answers by Framework

Browse Popular Code Answers by Language