mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-30 13:07:10 +01:00
Full Recoil animation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user