Identifiers
Provides information about the current game and its Player session through unique identifiers.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.Identifiers
- Assembly: UnityEngine.IdentifiersModule
public static class Identifiers
Remarks
For example, you can use this information to tie diagnostic information to a Player session.
Static Properties
Property | Description |
|---|---|
| installationId | Returns the installation ID for this Unity game. |
| userId | Gets or sets a user identifier supplied by the developer, typically the player's id in a third-party identity provider. |
Static Events
Member | Description |
|---|---|
| userIdChanged | Raised when userId changes value. |