Version: 2021.2
言語: 日本語
public void SetExcludeFromAnyPlatform (string platformName, bool excludedFromAny);
public void SetExcludeFromAnyPlatform (BuildTarget platform, bool excludedFromAny);

パラメーター

platformName ターゲットプラットフォーム

説明

Exclude platform from compatible platforms when Any Platform is set to true.

Useful when you want to apply logic - "plugin is compatible with any platform except this platform".

Note: PluginImporter.SetCompatibleWithPlatform or PluginImporter.SetCompatibleWithEditor will override this setting.

You can also use PluginImporter.GetImporters to check whether or not your plugin is compatible with specific platforms.