mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
Weapon Switching/pickup/throw
[+] added + added pickup weapons + added throw weapons + added weapon switching + scrolling searches for next active weapon [n] needs to be added n weapon in correct position after pickup n after weapon throw -> next active weapon needs to be equipt n throw/pickup/switch weapon animation
This commit is contained in:
@@ -44,7 +44,7 @@ public class Shoot : NetworkBehaviour
|
||||
totalAmmo = weapon.TotalAmmunition;
|
||||
updateCanvas = false;
|
||||
}
|
||||
if (Input.GetButtonDown("Fire")) {
|
||||
if (Input.GetButtonDown("Fire")) { // BOX COLLIDER AUS
|
||||
updateCanvas = true;
|
||||
Debug.Log(" click");
|
||||
if (weapon.AllowAction && weapon.CurrentAmmunition > 0)
|
||||
|
||||
Reference in New Issue
Block a user