Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

ClusterNetwork.isDisconnected

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static var isDisconnected: bool;
public static bool isDisconnected;

Description

Check whether the current instance is disconnected from the cluster network.

Disconnected instance will not terminate itself but instead it will continue running detached from the network. Client node is consider disconnected when it fail to receive any signal within a timeout period. Master node is consider disconnected when it fail to recerve any signal from any single client within a timeout period. Master node will consider itself disconnect even only one client node is lost but others still alive.