Documentation

Unity Engine

Download Unity

Unity Engine

GetPlayerConnectionInitiateMode(BuildTarget, BuildOptions)

Returns the mode currently used by players to initiate a connect to the host.
Read time 1 minuteLast updated 22 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static PlayerConnectionInitiateMode GetPlayerConnectionInitiateMode(BuildTarget targetPlatform, BuildOptions buildOptions)

Parameters

targetPlatform

The build target to check.

buildOptions

The build options to check.

Returns

Type

Description

PlayerConnectionInitiateModeThe mode that a player uses to initiate a connection to the host.