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.

Utility.GetAccessTokenForNetwork

public static Networking.Types.NetworkAccessToken GetAccessTokenForNetwork(Networking.Types.NetworkID netId);

Description

Utility function to get this client's access token for a particular network, if it has been set.