Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

PluginImporter.GetCompatibleWithEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public bool GetCompatibleWithEditor();

Returns

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

Description

Checks whether the plug-in is compatible with the Unity Editor.

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


Declaration

public bool GetCompatibleWithEditor(string buildTarget);

Parameters

Parameter Description
buildTarget The name of the build target.

Returns

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

Description

Checks whether the plug-in is compatible with the Unity Editor for a build target.

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


Declaration

public bool GetCompatibleWithEditor(string buildTargetGroup, string buildTarget);

Parameters

Parameter Description
buildTargetGroup The name of the build target group.
buildTarget The name of the build target.

Returns

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

Description

Checks whether the plug-in is compatible with the Unity Editor for a build target group and build target.

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