Documentation

Unity Engine

Unity Engine

GetCompatibleWithEditor

Checks whether the plug-in is compatible with the Unity Editor.
Read time 1 minuteLast updated 21 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetCompatibleWithEditor()

Checks whether the plug-in is compatible with the Unity Editor.
public bool GetCompatibleWithEditor()

Returns

Type

Description

boolTrue if the plug-in is compatible with the Editor. Otherwise, false.

Remarks

To check compatibility for a specific build target, use the overload that takes
buildTarget
.

GetCompatibleWithEditor(string)

Checks whether the plug-in is compatible with the Unity Editor for a build target.
public bool GetCompatibleWithEditor(string buildTarget)

Parameters

buildTarget

The name of the build target.

Returns

Type

Description

boolTrue if the plug-in is compatible with the Editor for the build target. Otherwise, false.

Remarks

Use this overload when the plug-in's Editor compatibility depends on the active build target.

GetCompatibleWithEditor(string, string)

Checks whether the plug-in is compatible with the Unity Editor for a build target group and build target.
public bool GetCompatibleWithEditor(string buildTargetGroup, string buildTarget)

Parameters

buildTargetGroup

The name of the build target group.

buildTarget

The name of the build target.

Returns

Type

Description

boolTrue if the plug-in is compatible with the Editor for the build target group and build target. Otherwise, false.

Remarks

Use this overload when the plug-in's Editor compatibility depends on the active build target group and build target.