環境サポート
Learn how Analytics works with Unity Gaming Services environments, and how to initialize the SDK for different environments.
読み終わるまでの所要時間 1 分最終更新 15日前
環境は、プロジェクトに関連付けられたデータを含む Unity Game Services の論理パーティションです。Analytics では、UnityServices を初期化するときに
InitializationOptions基礎となるキー:using UnityEngine;using Unity.Services.Core;using Unity.Services.Analytics;using System.Collections.Generic;using Unity.Services.Core.Environments; class InitWithEnvironment : MonoBehaviour { async void Awake() { var options = new InitializationOptions(); options.SetEnvironmentName("dev"); await UnityServices.InitializeAsync(options); }}
com.unity.services.core.environment-name