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

Touch Fucks Up #3

Closed
chr1srbx opened this issue Aug 19, 2022 · 1 comment
Closed

Touch Fucks Up #3

chr1srbx opened this issue Aug 19, 2022 · 1 comment

Comments

@chr1srbx
Copy link

Tocuh breaks if screenscale is changed(isn't the original resolution).

@Rev
Copy link
Contributor

Rev commented Aug 20, 2022

There are many ways you could go about fixing this yourself, some of which I have listed below.

  • Use GLSurfaceView to render the menu; https://developer.android.com/reference/android/opengl/GLSurfaceView
  • Use internal Unity functions to get touch input, such as get_position in the Touch class, and GetTouch/get_touchCount in the Input class.
  • Set the resolution of the application to your screens resolution. Most Unity applications have SetResolution in the Screen class, which can be used to do this.

@Rev Rev pinned this issue Aug 20, 2022
@Rev Rev closed this as completed Aug 20, 2022
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

2 participants