Hi there,
Why am I getting this error?
It states that, “error CS1501: No overload for method InvokeRepeating' takes
1’ arguments”
Here is my code.
InvokeRepeating("tapForFire");
Here is the full code. I am not sure it has anything to do with the fact it is Update(with breakers).
///for Web and Desktop use, keyboad must act as second control. (tap, left side of screen).
void Update() {
if (Input.GetKeyDown(KeyCode.X)){
if(!gunFireEnabled){
gunFireEnabled = true;
InvokeRepeating("tapForFire");
return;
}
}
}