mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
Network Weapons
+ started weapons with Mirror
This commit is contained in:
@@ -26,6 +26,8 @@ public class WeaponManager : MonoBehaviour
|
||||
{ currentWeaponIndex = 0; }
|
||||
else { currentWeaponIndex++; }
|
||||
}
|
||||
|
||||
|
||||
if (Input.GetButton("Interact")) // e
|
||||
{
|
||||
if (Physics.Raycast(cam.transform.position, cam.transform.forward, out RaycastHit hit))
|
||||
|
||||
Reference in New Issue
Block a user