Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
This question was closed Oct 21, 2016 at 07:35 PM by Zitoox for the following reason:

Forget it, i figured out where to put the script. I also used another script...

avatar image
-1
Question by Zitoox · Oct 21, 2016 at 06:58 PM · loading screenask

Making a Loading Screen

Sure, i know that this question was LITERALLY asked a lot of times, but before annoying me, please read the question.

I don't have any trouble with loading screens in my game, as it loads almost instantly even having a lot of things and being very "heavy". I didn't wanted to make a loading screen, but i reached to the conclusion that low spec pcs can easily take even minutes to load my game, and i don't want people to think that my game crashed or something.

So i have been searching around in the internet but i didn't found any explanation to how to make a loading screen. Here's the best thing that i've found: http://answers.unity3d.com/questions/42365/loading-screen.html

The problem is that i am a little confused... If i am making a loading screen, where am i supposed to place the loading script? Do i place it in the main menu's camera, so when the player click on the play button and the game start to change the scene, the game will load? Or do i need to put the script in the actual game scene? I am very confused... I don't even know if it will work because as i said, i have only a few milliseconds before the scene is loaded so i can't precisely tell if it's working. Any help would be appreciated =)

Ah, here is the script that i use to load my scenes. I think i would need to "mix" the two scripts in just one, so here it is. I hope you guys know what do i need to do.

 var isQuitButton = false;
 
 function OnMouseUp() {
     //are we dealing with a Quit Button?
     if (isQuitButton) {
         //quit the game 
         Application.Quit();
     }
     else {
         //load level
         Application.LoadLevel(5); //You don't need to mind about the five here. It is just to specificate the scene that is going to load.
     }
 }


Comment
Add comment
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

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

75 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Loading screen 1 Answer

Unity 5 Loading Screen Script? 3 Answers

WebGL Loading Bar / Splash Screen is gone 0 Answers

It remains this way after the splash screen 0 Answers

Unity won't load please help! 1 Answer


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