Create or import MGC assets
You must either create or import a Microsoft Game Configuration file for your GDK project. In general, a Microsoft Game Configuration (MGC) is created per supported platform, although a single MGC can be shared across multiple platforms. For more information, refer to MicrosoftGame.config overview.
You can create or import a Microsoft Game Configuration asset to your project using the following:
- Create: In Unity’s main menu, go to Assets > Create > GDK > Microsoft Game Config. This creates a basic game configuration file as a Microsoft Game Config asset. You need to set it up per your requirement using the values you retrieve from the Microsoft Partner Center.
- Import: In Unity’s main menu, go to Assets > Import New Asset to add a pre-existing Microsoft Game Configuration file into the Unity Editor. The file must be in a valid XML format and have a .mgc extension.