Full Recoil animation

This commit is contained in:
juliuse98
2021-11-08 12:55:58 +01:00
parent 352e22225f
commit c6cd50a4f8
8 changed files with 503 additions and 140 deletions

View File

@@ -23,8 +23,6 @@ public class Shoot : NetworkBehaviour
{
if (Input.GetKeyDown(KeyCode.Mouse0))
{
//CmdFireBullet();
//RpcOnFire();
CmdFireBullet();
}
}
@@ -55,7 +53,6 @@ public class Shoot : NetworkBehaviour
// This code will be executed on the Client.
void shootAnimation()
{
//shootAnim.StartShootAnimation(fireRate);
shootAnim.recoil(gunHoldPos,0.1f);
}
}