GetCompatibleWithEditor
Checks whether the plug-in is compatible with the Unity Editor.
阅读时间1 分钟最后更新于 21 天前
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 |
|---|---|
| bool | True 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 .
buildTargetGetCompatibleWithEditor(string)
Checks whether the plug-in is compatible with the Unity Editor for a build target.
public bool GetCompatibleWithEditor(string buildTarget)
Parameters
The name of the build target.
Returns
Type | Description |
|---|---|
| bool | True 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
Returns
Type | Description |
|---|---|
| bool | True 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.