- Home /
Question by
ilmix123 · Mar 23, 2017 at 06:24 PM ·
build settingscrossplatform
How do I replace a script when building for a specific platform?
I originally wrote my game for Android but I want to make a PC build. One of the game scripts implements the Google Play Games RealTimeMultiplayerListener interface. How can I replace it with something different when making a build for a PC?
Comment
Best Answer
Answer by Dave-Carlile · Mar 23, 2017 at 06:28 PM
You can use Conditional Compilation for this.
Your answer
Follow this Question
Related Questions
Is there a #define for Build Settings Platform? 1 Answer
Bilingual support and Cross platform Builds 0 Answers
Problem iOS compile -library not found? 0 Answers
How do I make use of Bluetooth in Unity (to control my PC-based project from an Android Tablet)? 3 Answers
Changing a Project's Name Without Renaming Its Folder 1 Answer