文档

Unity Engine

Unity Engine

GetPlayerConnectionInitiateMode(BuildTarget, BuildOptions)

Returns the mode currently used by players to initiate a connect to the host.
阅读时间1 分钟最后更新于 21 天前

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.