Project Configuration

Last updated: 2019-11-01 11:08:06

PDF

Thank you for using Tencent Cloud Game Multimedia Engine (GME) SDK. This document provides the information on Unity SDK project configuration to make it easy for Unity developers to debug and integrate the APIs for GME.

SDK Preparation

You can obtain the SDK by the following steps:

Download SDK

Go to the Download Guide page.

Locate SDK resource for Unity on the interface.

Click Download. The SDK resource contains the following items after decompression:

Description:

File Name Description
Plugins SDK library file
Scripts SDK code file

Preparations

1. Import Plugins

Copy the files from the Plugins folder in the development kit into the Plugins folder under Assets of the Unity project, as shown below:

2. Import code file

Copy the files in the Scripts folder in the SDK to the folder used to store code in the Unity project, as shown below:

3. Audio settings

In the Unity editor, go to Edit -> Project Settings -> Audio and use the default system settings. If you make a change to the settings, Unity playback sound effect will be interrupted due to the iobuffer set on the iOS device.

If the settings are as follows, Unity playback sound effect will be interrupted due to the iobuffer set on the iOS device.

Exporting to Different Platforms

Project configuration is required before you can export executable files from the Unity engine to different platforms:

Platform Project Configuration
Android Project Configuration for Android
iOS Project Configuration for iOS
Mac Project Configuration for Mac