Fix to ignore warning due to missing NDA consoles packages

This commit is contained in:
Wojtek Figat
2023-02-08 23:41:24 +01:00
parent bc4514c905
commit 7fae0d9fb6
2 changed files with 11 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ namespace FlaxEditor.CustomEditors.Editors
var customType = TypeUtils.GetType(assetReference.TypeName);
if (customType != ScriptType.Null)
assetType = customType;
else
else if (!Content.Settings.GameSettings.OptionalPlatformSettings.Contains(assetReference.TypeName))
Debug.LogWarning(string.Format("Unknown asset type '{0}' to use for asset picker filter.", assetReference.TypeName));
}
}