private IsUsableOnOSX ( UnityEditor.PluginImporter imp ) : bool | ||
imp | UnityEditor.PluginImporter | |
Résultat | bool |
private bool IsUsableOnOSX(PluginImporter imp)
{
if (!imp.isNativePlugin)
{
return true;
}
switch (Path.GetExtension(imp.assetPath).ToLower())
{
case ".so":
case ".bundle":
return true;
}
return false;
}