Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on March 16, 2018, 05:52:32 PM
-
Hello, I have two separate Unity projects that i'd like to integrate. I'd like to export a scene from the second project as a custom package and import it into the first project.
How can I combine the global variables of both projects? Or how can I add the new global variables/events to the other?
Thanks for your time.
-
Hi.
There is a export/import globals in the playmaker menu you can use.
But be sure to make a backup from your project before you try.
Also you should try to minimize using globals.
-
Thanks, DJayDino!
Why is it best practice to minimize global variables? It seems easiest if Prefabs just grab a global variable, rather than going through more actions to find out that info from a scene object.
Thanks
-
Hi.
Globals are easy the be hacked by cheat engines, when you start to get lots of variables, it gets messy.
Here are some ways you can connect prefabs to scene objects :
-
Cool, thanks!