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
Declaration
public bool
GetCompatibleWithPlatform(
BuildTarget platform);
Parameters
| Parameter |
Description |
| platform |
The target platform. |
Returns
bool
True if the plug-in is compatible with the platform. Otherwise, false.
Description
Checks whether the plug-in is compatible with a build target.
To check a platform by name, use the overload that takes platformName.
Declaration
public bool GetCompatibleWithPlatform(string platformName);
Parameters
| Parameter |
Description |
| platformName |
The name of the target platform. |
Returns
bool
True if the plug-in is compatible with the platform. Otherwise, false.
Description
Checks whether the plug-in is compatible with a platform, identified by name.
Use this overload when you have the name of the platform rather than a BuildTarget.