Search Unity

A quick question about SceneManager

Discussion in 'Getting Started' started by Bentorium, Feb 1, 2016.

  1. Bentorium

    Bentorium

    Joined:
    Nov 21, 2012
    Posts:
    1
    Hello

    Not sure if this is right place to ask?

    Didn't find any answers while looking around forums, but is there need to make GameManager class yet to pass stuff around when changing scenes when using Unity build in SceneManager?

    Or should use as before some GameManager to handle stuff between the scenes?


    Thanks
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,208
    Me - I create a global singleton that contains my data. Then there is no need to pass it around, it's just there. Or, you can create GameObjects and set the DontDestroyOnLoad property, and they'll hang round between scene changes.