지원 프로그램
home
슬기로운 데모생활
home

Preparation

생성일
2024/03/14 05:33
태그
상위 항목
하위 항목
Check that you have issued the stove subscription account and the App key, App secret, and Game Id for the released game from STOVE Studio (opens new window).
We recommend installing versions of Unity 2017 and Visual Studio 2017 or higher.
Download the newest Unity(C#) distributed files(stated as StovePCSDK_NET from here on) from the PC SDK Download page.

StovePCSDK_NET Distributed File Configuration

StovePCSDK Folder

The folders below can be found in the StovePCSDK folder when you download and unzip StovePCSDK_NET.
Plugins Unity Project plugin folder.
Plugins\x86
Binaries required for x86 builds.
Plugins\x86_64
Binaries required for x64 builds.

Configuring StovePCSDK_NET Build Settings

1. Adding Assets

Open the Unity project to be integrated. Leave one of the x86/x86_64 folders in the ‘StovePCSDK folder described above and delete the other one. Then copy the StovePCSDK folder and paste it under the Assets folder.

2. Checking Files in the x86 Folder

Select the files in the x86 folder and check if you have selected the Windows x86 category in the inspector's platform settings section. Select it if you don't choose it.

3. Checking Files in the x86_64 Folder

Select the files in the x86 folder and check if you have selected the Windows x86_x64 category in the inspector's platform settings section. Select it if you don't choose it.

4. Build Settings

Click the File > Build Settings... menu to open the Build Settings dialog and click the Player Settings... button to open the Inspector or Project Settings window. Set Other Settings group > Configuration section > Api Compatibility Level item as below.
Unity 2018 and earlier versions: .NET 2.0 (not .NET 2.0 Subset)
Unity 2018 and higher: .NET 4.x (not .NET Standard 2.0)

5. Creating an Empty Game Object

Create a GameObject (GameObject -> Create Empty) in the appropriate scene. Set the name of the empty GameObject to StovePCSDKManager for convenience.

6. Adding Script Components

Add a script component to the StovePCSDKManager object.
Set the script’s name as StovePCSDKManager for convenience.

7. Script Input

Process the Awake method as shown below so that it doesn't disable the StovePCSDKManager object due to scene changes or such.
private void Awake() { DontDestroyOnLoad(transform.gameObject); }
Plain Text
복사