mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 12:52:07 +01:00
fack
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user