nhn / gpm.unity

A brand of NHN providing free services required for game development.

Home Page:https://gameplatform.nhncloud.com/en/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rotation

Geniif opened this issue · comments

this is the situation if I use
position = new GpmWebViewRequest.Position
{
hasValue = true,
x = 0,
y = 0
},
size = new GpmWebViewRequest.Size
{
hasValue = true,
width = (int)(Screen.width * 1f),
height = (int)(Screen.height * 1f)
}, then when I rotate the screen nothing changes, the rotation only works if I use fullscreen, what should I do in this case, since the rotation does not work correctly and retains the initial position

Service

  • WebView
  • AssetManagement
  • Communicator
  • LogViewer
  • Manager
  • UI
  • Profiler
  • Adapter
  • DLST

Version

Write the version that you are currently using.

Summary

A clear and concise description of what the question is.

Screenshots

If applicable, add screenshots to help explain your question.

Additional context

Add any other context about the problem here.

Hello. @Geniif.

What are the rotation settings for the Unity player settings?
What values have you entered in the GpmWebViewRequest.Configuration?
Can you please provide a screenshot or video of the situation where the rotation is not working?

Thank you.

Hello. @Geniif.

Is the issue with rotation resolved?
If so, we'll close the issue.

Thank you.

@taehyeon-nhn I solved the problem

@taehyeon-nhn I still need help, is there some function that monitors the user's use of the camera? I don't want to prompt the user for camera access when the view starts. I want to do this only when he needs it, like in native Android, if this is possible?