Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetCompatibleWithPlatform

Sets compatibility with the specified platform.
Read time 1 minuteLast updated 6 days ago

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.