This commit is contained in:
juliuse98
2021-11-24 18:15:29 +01:00
parent 6bbe58799d
commit b02f77419b
3 changed files with 81 additions and 81 deletions

View File

@@ -435,9 +435,9 @@ MonoBehaviour:
rotationMultX: 5
rotationOffsetX: 0.1
rotY: 1
rotationMultY: 5
rotationMultY: 0
rotZ: 1
rotationMultZ: 15
rotationMultZ: 0
sideSwey: 1
sweyMultX: 1
sweyMultY: 0

View File

@@ -24,7 +24,7 @@ public class WeaponManager : NetworkBehaviour
void Update() {
if (isLocalPlayer) {
counter = 0;
if(Input.GetAxis("Mouse ScrollWheel") > 0f){ // Scroll up
if(Input.GetAxis("Mouse ScrollWheel") > 0f && false){ // Scroll up
do
{
if (currentWeaponIndex <= 0)
@@ -39,7 +39,7 @@ public class WeaponManager : NetworkBehaviour
//Debug.Log(activeWeapons[currentWeaponIndex]);
} while (activeWeapons[currentWeaponIndex] == null);
}
else if (Input.GetAxis("Mouse ScrollWheel") < 0f){ // Scroll down
else if (Input.GetAxis("Mouse ScrollWheel") < 0f && false){ // Scroll down
do
{
if (currentWeaponIndex >= activeWeapons.Length - 1)