LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AnalyticsSessionInfo.userId

public static string userId;

Description

UserId is random GUID to track a player and is persisted across game session.