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 /
avatar image
1
Question by Gimal · Sep 22, 2013 at 07:45 PM · screenloading

Loading screen?

How do I put an image while loading scenes? Do I have to create a "loading scene" ?? or is there a way to do it easily?? Thanks!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by FrankStarsKo · Sep 22, 2013 at 08:25 PM

 // Print on a guiText how much has been streamed "Level1"
     // When finished streaming, print "Level1 has been fully streamed!"
     var percentageLoaded : float = 0;
 
     function Update() {
         if(Application.GetStreamProgressForLevel("Level1") == 1) {
             guiText.text = "Level 1 has been fully streamed!";
         } else {
             percentageLoaded = Application.GetStreamProgressForLevel("Level1") * 100;
             guiText.text = percentageLoaded.ToString();
         }
     }

This is from unity script reference, if you put a prefab with a picture instead of guitext.text, you will get what you want

and for the last question you asked "i guess nothing is easy in unity" but nothing that cannot be done

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 Tucura · Sep 22, 2013 at 09:18 PM

If you have a loading scene you can make two things (sure more i just know these).

First would be: make an extra scene where you add e.g a plane or a cube with an orthographic camera on it. Make the camera in front of the cube with the added picture as a texture. Same thing with the plane. If you want to load more pictures make more planes or make a texture with all of them (i guess the first will be easier).

Second: Make under GameObject -> Create Other -> Gui texture a new Texture and add you Picture to it. Set the size of the picture (be careful with the size). Let the Texture appear when you want to "load" the new scene. Best thing would be to disable all ingame sounds, then the use thinks he is in a loading scene (also lock the keys).

It's up to you what you choose. The first method would be better cause thing about what happens e.g. in a rpg. If you teleport to another position you should disappear. With the second variant your character would still stand on the same position and everybody could see him (if you dont disable everything with the server)

Take care

Tuc

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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 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

Related Questions

Loading Screen - FLASH export 2 Answers

Loading Scree 2 Answers

How does one Implement a Loading screen? 2 Answers

Loading Screen Unity Basic 2 Answers

GUIkit black screen 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