|
I have created a script that handles all interface buttons. When I test, with Unity Remote 3, I get no issues, but obviously, that runs on my desktop. When I try to build for iOS, tapping the button will not switch scene. Here is my I have a fade out script on the camera, and this part just checks to see if the screen has fully faded (via a delayed time) and if it has, navigate to the next scene. The A On button press, the variable Are there any restrictions I need to be aware of when building for iOS. Thanks in advance for any help you can offer! UPDATE With an indexed integer seems to work, though the very nature of the script is that anything can be passed to it to dynamically manage the scene switching. Is there any way I can do this through strings? REQUESTED My input detection works fine, both on build in iOS and in Unity Remote 3. It also wouldn't be a mis-spell because it works in Unity Remote
(comments are locked)
|
|
You should give it as targetSceneOrAction is a variable, if I put it into quotemarks it'll take it as a literal. I need something where I can have a dynamic variable in here. It does work with
May 23 '12 at 10:29 AM
danhanly
I had to use an integer variable in the end. I created a public variable to handle it.
May 24 '12 at 03:10 PM
danhanly
(comments are locked)
|
|
How do you detect your "tap" ? Keep in mind that won't work on iPhone. It would help to see your actual input detection... If the Loadlevel is executed the only reason to fail would be that the scene isn't part of your build (note if you misspelled the name it's the same reason ;)) I've updated my question. Thanks for your help!
May 23 '12 at 11:00 AM
danhanly
(comments are locked)
|
