Fix build with older C# compiler

This commit is contained in:
Wojtek Figat
2024-02-19 15:12:37 +01:00
parent 4c082ef17f
commit cb0969893d

View File

@@ -249,7 +249,7 @@ namespace FlaxEditor.Options
/// The list of fallback fonts to use when main text font is missing certain characters. Empty to use fonts from GraphicsSettings.
/// </summary>
[EditorDisplay("Fonts"), EditorOrder(650)]
public FontAsset[] FallbackFonts = [FlaxEngine.Content.LoadAsyncInternal<FontAsset>(EditorAssets.FallbackFont)];
public FontAsset[] FallbackFonts = new FontAsset[1] { FlaxEngine.Content.LoadAsyncInternal<FontAsset>(EditorAssets.FallbackFont) };
/// <summary>
/// Gets or sets the title font for editor UI.