Closed VonHirsch closed 5 years ago
Weapon should change from cylinder->capsule->sphere
Weapon indexes are randomized which is confusing
Change code line:
state.WeaponArray[i].WeaponId = Random.Range(0, WeaponObjects.Length - 1);
to:
state.WeaponArray[i].WeaponId = i;
(this code appears twice on the page so should be corrected twice)
Fixed. Thanks for the feedback.
How to reproduce issue
Expected Behavior
Weapon should change from cylinder->capsule->sphere
Actual behavior
Weapon indexes are randomized which is confusing
Fix
Change code line:
to:
(this code appears twice on the page so should be corrected twice)