PluginImporter.SetCompatibleWithPlatform

Unity · Версия 2020.3 LTS · Scripting · PluginImporter

PluginImporter.SetCompatibleWithPlatform

Объявление

public void SetCompatibleWithPlatform(BuildTarget platform, bool enable);

public void SetCompatibleWithPlatform(string platformName, bool enable);

Параметры

platform Целевая платформа.
enable Совместим ли плагин с указанной платформой.
platformName Целевая платформа.

Описание

Устанавливает совместимость с указанной платформой.

Обновлено 17 ноября 2026 г.