Search Unity

Question Can you Instantiate a list of game Objects with the GameManager?

Discussion in 'Editor & General Support' started by killerflip, Sep 14, 2022.

  1. killerflip

    killerflip

    Joined:
    May 26, 2022
    Posts:
    11
    I am collecting some different animals in one scene (which is the GameMode), that I want to show in another scene (which is like a Start-Screen where all the animals run around). Can I do that by saving all the collected game Objects into a list in a persistent GameManager and instantiate them once the other scene is loaded?

    It's kind of a simple question, but I've read a lot about how some people have problems with saving / instantiating game Objects across scenes, and I somehow can't find a precise answer. Thank you to everyone that finds the time to answer.