YousicianGit / UnityNativeEdit

Unity Native Input Plugin for both iOS and Android (Unity UI compatible)
44 stars 13 forks source link

[iOS] touch issue and not work on vertical direction #58

Open yellowbee686 opened 6 years ago

yellowbee686 commented 6 years ago

Thanks for the fantastic work! But my unity version is 5.6.4p4, and UnityNativeEdit has two issues on iOS:

  1. after called [unityViewController.view addSubview:viewPlugin]; which is in the Awake of PluginMsgHandler, the unity touch is broken, multi touch doesn't work and the touch pos on screen is wrong, just like https://stackoverflow.com/questions/33542842/unity3d-game-touch-issue-when-adding-subviews-to-the-unitygetglview

  2. In my application, I have to change direction of unity view between lansscape and vertical, but on iOS when I change it to vertical, the UnityNativeEdit can't show, on android UnityNativeEdit works fine.

Does anyone has any ideas about the issues?

Nezz commented 6 years ago

Can you check if it works with the latest version? #59 introduced some improvements to layouts.

yellowbee686 commented 6 years ago

@Nezz Thanks for replying, I'll try it