Fix to ignore warning due to missing NDA consoles packages
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,16 @@ namespace FlaxEditor.Content.Settings
|
||||
internal const string XboxOnePlatformSettingsTypename = "FlaxEditor.Content.Settings.XboxOnePlatformSettings";
|
||||
internal const string XboxScarlettPlatformSettingsTypename = "FlaxEditor.Content.Settings.XboxScarlettPlatformSettings";
|
||||
internal const string SwitchPlatformSettingsTypename = "FlaxEditor.Content.Settings.SwitchPlatformSettings";
|
||||
#if FLAX_EDITOR
|
||||
internal static string[] OptionalPlatformSettings =
|
||||
{
|
||||
PS4PlatformSettingsTypename,
|
||||
PS5PlatformSettingsTypename,
|
||||
XboxOnePlatformSettingsTypename,
|
||||
XboxScarlettPlatformSettingsTypename,
|
||||
SwitchPlatformSettingsTypename,
|
||||
};
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// The default application icon.
|
||||
|
||||
Reference in New Issue
Block a user