Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

How to reuse a grid between scenes

Discussion in 'Prefabs' started by Daleach13, May 7, 2021.

  1. Daleach13

    Daleach13

    Joined:
    Apr 18, 2021
    Posts:
    5
    Hello, I am new to unity. In Scene A I have a grid with 4 children (walls, floor, etc) and the scene has a particular layout. I would like to be able to copy that grid (or At least just the children) onto a new scene so I can use the tiles (walls, floor, etc) in the new scene but with a new layout of those said tiles (this scene will look different from scene A). How do I go about doing this? When I made the grid or the children a prefab I ran into a problem of changing the layout in SceneB changed the layout of SceneA. Do I have to manually recreate this grid and it’s children with each new scene?
     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    6,845
    Make a prefab out of the parts which are common and the same in all (both/most/whatever) scenes, bring those into the scenes and create the parts which are different. Since they are need to be different.
     
    Daleach13 likes this.
unityunity