文档

Unity Engine

Unity Engine

SetCompatibleWithPlatform

Sets compatibility with the specified platform.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

SetCompatibleWithPlatform(BuildTarget, bool)

Sets compatibility with the specified platform.
public void SetCompatibleWithPlatform(BuildTarget platform, bool enable)

Parameters

platform

Target platform.

enable

Is plugin compatible with specified platform.

SetCompatibleWithPlatform(string, bool)

Sets compatibility with the specified platform.
public void SetCompatibleWithPlatform(string platformName, bool enable)

Parameters

platformName

Target platform.

enable

Is plugin compatible with specified platform.