unity manual trigger Input.GetMouseButtonDown(0) code example
Example: GetMousebuttonDown unity
if (Input.GetMouseButtonDown(1))
//This is too stop spaming the gun
if (Input.GetMouseButtonDown(1))
//This is too stop spaming the gun