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.

NetworkClient.GetRTT

public int GetRTT();

Returns

int Return trip time in milliseconds.

Description

Gets the Return Trip Time for this connection.

This value is calculated by the transport layer.