Version: 2017.2

PluginImporter.SetCompatibleWithAnyPlatform

切换到手册
public void SetCompatibleWithAnyPlatform (bool enable);

参数

enable Is plugin compatible with any platform.

描述

Set compatiblity with any platform.

When checking if plugin is compatible, Unity will first check PluginImporter.GetCompatibleWithAnyPlatform value, if it returns false - PluginImporter.GetCompatibleWithPlatform will be used instead. See Also:PluginImporter.GetCompatibleWithAnyPlatform.