Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Nov 18, 2014 at 06:19 PM by psycocrusher for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by psycocrusher · Feb 08, 2012 at 06:30 PM · iphoneloadleveltouchscreeninterfaceiphoneinput

iPhone interface interaction.

When i load a new level on the iphone i can interact with the interface of the next level before it's even loaded.

It's doesn't wait for the scene to show before the commands take effect.

Can anyone help? Thank you

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BerggreenDK · Feb 08, 2012 at 07:03 PM 0
Share

have you tried to remake the load function with a standard build on PC /$$anonymous$$AC platform - like for the webplayer to see if its an iOS problem or a problem with your code?

2 Replies

  • Sort: 
avatar image
0

Answer by BerggreenDK · Feb 08, 2012 at 07:06 PM

Can you show a bit of the code loading your scene/levels?

if not, check this link:

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.OnLevelWasLoaded.html

and

http://unity3d.com/support/documentation/ScriptReference/Application.LoadLevel.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by psycocrusher · Feb 08, 2012 at 09:30 PM

I'am using application.loadLevel when my conditions is met.

This is the command i use on my guiTexture:

function Update(){

for (var VarName : Touch in Input.touches) {

   if(VarName.phase == TouchPhase.Ended && guiTexture.HitTest(VarName.position)){

             gameObject.Find("Loading").guiTexture.enabled = true;
             
             if(gameObject.Find("Loading").guiTexture.enabled == true){
             
                 Application.LoadLevel(6);    
             }      
         }   
     } 
 }

I tried a boolean and enable the command OnLevelWasLoaded and it didn't work either.

it's the same problem as this one: http://answers.unity3d.com/questions/151353/touch-is-remembered-through-loading-level.html#answer-215380

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

touch to loadlevel 2 Answers

Fade to white after being killed - iPhone game 2 Answers

porting MouseDown to iPhoneInput.Touch and/or uniTUIO events 1 Answer

How do you get consistent gyroscope rotations on 2 axis? 0 Answers

How to make a loading screen? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges