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