Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkManager.activeTransport

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

Submission failed

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

Close

Cancel

Obsolete public static INetworkTransport activeTransport;

Description

The currently active instance of an INetworkTransport object that is being used by the high level API of Unity Multiplayer to send and receive data.

Can only be modified if the currently active transport has been shut down (i.e. is not started). By default this is set to defaultTransport . You can set this to an instance of a custom network transport implementation that the high level API of Unity Multiplayer should use instead. Or, set this to defaultTransport to return to the default network transport implementation.

Did you find this page useful? Please give it a rating: