unity left mouse button
//Key Code in the Input Project Settings is "mouse 0"
Input.GetKey(KeyCode.Mouse0))
unity left mouse button
//Key Code in the Input Project Settings is "mouse 0"
Input.GetKey(KeyCode.Mouse0))
GetMousebuttonDown unity
if (Input.GetMouseButtonDown(1))
//This is too stop spaming the gun
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us