Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HapticController.outputLevel not working on Pixel 4 #52

Open
2 tasks done
TonyDLion opened this issue Sep 12, 2024 · 0 comments
Open
2 tasks done

HapticController.outputLevel not working on Pixel 4 #52

TonyDLion opened this issue Sep 12, 2024 · 0 comments

Comments

@TonyDLion
Copy link

Bug report

Checklist

  • I'm using the latest release
  • I've searched for existing issue

Environment

Unity 2022.3.40f1
Google Pixel 4

Goals

Control the global intensity of haptics

Steps to Reproduce

  1. Place this code where you would call for a haptic
    //c#
HapticController.outputLevel = 0.25f;
HapticPatterns.PlayPreset(PresetType.Success);
  1. Build to APK
  2. Run on Pixel 4

Expected behavior

Preset pattern will play at 25% intensity of standard

Observed behavior

Pattern intensity doesn't change

Code Samples & Details

HapticController.outputLevel = 0.25f;
HapticPatterns.PlayPreset(PresetType.Success);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant