Search Unity

Load two scenes ?

Discussion in 'Getting Started' started by Quast, Aug 8, 2016.

  1. Quast

    Quast

    Joined:
    Jul 5, 2015
    Posts:
    560
    Hi
    I work on "Loading" Scene, that should run when i load any level scene. I did this but still i can't make it run together.
    I do this because when i load game level some items "tree and grass" take time to show up. So, to solve this i decide to make separate scene that give me time till game level complete loading.

    Is this possible ?
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,190
  3. Quast

    Quast

    Joined:
    Jul 5, 2015
    Posts:
    560
    Thank you Ryiah for reply.
    I read this before. So, this mean that i can't load two scenes.
    Its better to make a Canvas "As a load scene" start when load the game level. right ?
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,190
  5. Deleted User

    Deleted User

    Guest

  6. Quast

    Quast

    Joined:
    Jul 5, 2015
    Posts:
    560
    Sorry, still not clear for me.
    What i'm doing is load a scene "Loading" anytime if i want load level or back to main menu scene.
    Code (CSharp):
    1. void Load_level01()
    2. {
    3.             SceneManager.LoadScene ("Loading_Scene", LoadSceneMode.Additive);
    4.             SceneManager.LoadScene("level01");
    5.  
    6. }
    I try to use the code in my game but nothing happen ! No error !
     
    FurySven likes this.