Example #1
0
 public void UpdateWeaponControls(int val) // mapped to dropdown menu in Unity Editor
 {
     weaponSelectInputType = (val == 0) ? WeaponSelectInputType.ArrowKeys : WeaponSelectInputType.IMU;
     UpdateControlsText();
 }
Example #2
0
 public void SetDefaultControls()
 {
     aimInputType          = AimInputType.Mouse;
     weaponSelectInputType = WeaponSelectInputType.ArrowKeys;
     enablePreview         = false;
 }