Add support for cooking game for Switch

This commit is contained in:
Wojtek Figat
2021-03-15 14:32:10 +01:00
parent c7c339957b
commit c930d32b2b
11 changed files with 117 additions and 43 deletions

View File

@@ -92,6 +92,11 @@ namespace FlaxEditor.Content.Create
/// The Android settings
/// </summary>
AndroidPlatformSettings,
/// <summary>
/// The Switch settings
/// </summary>
SwitchPlatformSettings,
}
private static readonly Type[] _types =
@@ -111,6 +116,7 @@ namespace FlaxEditor.Content.Create
TypeUtils.GetManagedType(GameSettings.PS4PlatformSettingsTypename),
TypeUtils.GetManagedType(GameSettings.XboxScarlettPlatformSettingsTypename),
typeof(AndroidPlatformSettings),
TypeUtils.GetManagedType(GameSettings.SwitchPlatformSettingsTypename),
};
/// <summary>