mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-30 04:57:10 +01:00
Weapon Animation, Ammunition
+ fixed USP animation + fixed shooting with CTRL + added working ammunition
This commit is contained in:
@@ -33,7 +33,7 @@ public class Weapon : MonoBehaviour
|
||||
{
|
||||
if (Input.GetButton("Fire") && allowShoot && currentAmmunition > 0)
|
||||
{
|
||||
anim.Play("USP");
|
||||
anim.Play("USP_Shooting");
|
||||
isShooting = true;
|
||||
StartCoroutine(fireRate());
|
||||
fire();
|
||||
|
||||
Reference in New Issue
Block a user