- Home /
Ngui with Unity Remote 4
It seems like unity remote 4 cant get touch event from ngui, since it works properly on Unity Remote 3 and even can get Input.GetMouseButtonDown on Unity Remote 4, but cant get touch event for ngui, did any met the same issues?
Answer by jfperusse_bhvr · Dec 02, 2014 at 03:34 PM
Here are some steps which might help.
Change your game viewport size to the same size as your device. For example, if you are testing on an iPhone 5, add a custom resolution of 1136x640.
Make sure to select the proper Unity Remote Device under Edit->Project Settings->Editor Settings.
Under Edit->Project Settings->Player, make sure you have the proper Orientation settings (I generally change it to Auto Rotation).
Without proper settings, NGUI was getting negative values which explains why it was not working properly.
Your answer
Follow this Question
Related Questions
How to Disable/Inactive NGUI Button on Game Pause? 0 Answers
A node in a childnode? 1 Answer
Unity editor works but the built game doesnt. 0 Answers
GUI Text as Button 1 Answer
Horizontal Slider issue 0 Answers