ドキュメント

サポート

Authentication

Open Unity Dashboard

Authentication

PlayerPrefs /PlayerPrefs

Understand how Unity Authentication uses player preferences to securely store authentication tokens.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

サインイン後、セッショントークンは
PlayerPrefs
に保存されます。これはゲームセッション間でのプレイヤーの設定を保存するクラスです。
string
float
integer
をプレイヤーのプラットフォームレジストリに保存することができます。
Unity では、以下のキー形式を使用してトークンが分離されます。
$CloudProjectId.$Profile.unity.services.authentication.session_token
場所はプラットフォームによって異なります。 詳細については、PlayerPrefs スクリプトのリファレンスドキュメントを参照してください。