What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-07 21:56:03
unity everytime character shoot he has a short cooldown
#pragma strict //The interval you want your player to be able to fire. var FireRate : float = 1.0; //The actual time the player will be able to fire. private var NextFire : float; function Update () { //If the player is pressing fire AND T... Add solution
Best helpers
S9527
+5
BuckNaked69
+5
Mark Gabriel
+5
Lvoyster
+5
Geoffre14
+5
Arttu
+5
Oddthinking
+5
Kapil
+5
Cob
+5
AppleFix88
+5
Jun Czyrka
+5
V0ight
+5
Feynman
+5
Nick Rowe
+5