Tell me what you think.
I did notice that if I initialize shotCooldown with any value it overwrites whatever value I put in in the inspector, so I have to declare it with no value.
Tell me what you think.
I did notice that if I initialize shotCooldown with any value it overwrites whatever value I put in in the inspector, so I have to declare it with no value.
I did this too, declare another global variable as condition to handle StartCoroutine rapid execution, but i’m afraid if we did this there are another unknown drawbacks that we didn’t know, i sometimes hear a phrase “globals are evil” but i’m not sure why. Can somebody explain it, please