| Parameter | Description |
|---|---|
| platformName | The name of the target platform. |
| excludedFromAny | Set to true to exclude the platform. Set to false to include it. |
Sets whether a platform, identified by name, is excluded when the plug-in is compatible with any platform.
When Any Platform is enabled for a plug-in, it's compatible with every platform except the ones you exclude. Use this method when a plug-in is compatible with every platform except a few. PluginImporter.SetCompatibleWithPlatform and PluginImporter.SetCompatibleWithEditor override this setting. To check which plug-ins are compatible with a platform, use PluginImporter.GetImporters.
| Parameter | Description |
|---|---|
| platform | The target platform. |
| excludedFromAny | Set to true to exclude the platform. Set to false to include it. |
Sets whether a build target is excluded when the plug-in is compatible with any platform.
When Any Platform is enabled for a plug-in, it's compatible with every platform except the ones you exclude. Use this method when a plug-in is compatible with every platform except a few. PluginImporter.SetCompatibleWithPlatform and PluginImporter.SetCompatibleWithEditor override this setting. To check which plug-ins are compatible with a platform, use PluginImporter.GetImporters.