PlayerPrefs /PlayerPrefs
Understand how Unity Authentication uses player preferences to securely store authentication tokens.
読み終わるまでの所要時間 1 分最終更新 8ヶ月前
サインイン後、セッショントークンは に保存されます。これはゲームセッション間でのプレイヤーの設定を保存するクラスです。、、 をプレイヤーのプラットフォームレジストリに保存することができます。
PlayerPrefsstringfloatintegerUnity では、以下のキー形式を使用してトークンが分離されます。
$CloudProjectId.$Profile.unity.services.authentication.session_token場所はプラットフォームによって異なります。
詳細については、PlayerPrefs スクリプトのリファレンスドキュメントを参照してください。