Is it possible to output different builds which share the same Data folder?
I have 3 different builds in total.
A Server build, which is completely separate and has its own output directory.
And then two builds which I want shared which are the Client and a Standalone Chat app.
The chat app is an asset which uses an IRC connection and it's also available internally in the Client, I've implemented it as a standalone app as well so that the player can choose to just open a version of the game exclusively for chatting (among a few small gameplay aspects like managing their auctions) - I've always felt that a lot of MMO's miss this functionality so I wanted to implement it in my own.
It works perfectly fine but the way I've done it requires building twice for Client & the chat app, so they both output their own Data folders. The client uses all the same assets as the chat app so I assumed I could just rename the client's data folder as "Data", but this causes the chat app to actually open the game.
Any suggestions on how I could manage this? I'm thinking, on startup I could check for the executable name, if it's "Game" then it'll load game scenes, if it's "Chat" then it'll load the Chat scene and then after building I could copy the executable and rename it but I'm wondering whether there's a cleaner way of doing something like this.
Your answer
Follow this Question
Related Questions
Can I have StreamingAssets directory nested lower in the Assets directory? 1 Answer
Script updater failed to produce updates.txt file 0 Answers
how do i add script folder to final build 0 Answers
Build for iOS 0 Answers
Personal build services 1 Answer