Is it possible to add an object /gui to ALL scenes in unity?

Updated on September 11, 2018 in [A] GUI
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
3 on September 7, 2018

I have like 10 levels, now if i want to makes changes to the gui, like position the cash balance in the top, then I would have to edit ALL 10 levels, is there anyway I can have a feature common to ALL 10 levels?

  • Liked by
Reply
1 on September 10, 2018

Make the UI a prefab

 

on September 10, 2018

Ya, then you can drag that prefab into all of the scenes.  A prefab it like a template of an object.  Here is a link to –> https://docs.unity3d.com/Manual/Prefabs.html

Show more replies
  • Liked by
Reply
Cancel
0 on September 11, 2018

If you want it in EVERY scene just put it in the first one then add a don’t destroy on load script to it. If you need to know how to do that just google it has been documented to death 🙂

  • Liked by
Reply
Cancel