From e9dff59a9f673713e5239c976fafb3e37c09d744 Mon Sep 17 00:00:00 2001 From: David Finol Date: Sat, 2 Nov 2024 23:08:32 -0500 Subject: [PATCH] Fix compiler --- Assets/Scripts/Cgs/Menu/GamesManagementMenu.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Assets/Scripts/Cgs/Menu/GamesManagementMenu.cs b/Assets/Scripts/Cgs/Menu/GamesManagementMenu.cs index 01cda370..dd8fb7bb 100644 --- a/Assets/Scripts/Cgs/Menu/GamesManagementMenu.cs +++ b/Assets/Scripts/Cgs/Menu/GamesManagementMenu.cs @@ -10,6 +10,10 @@ using UnityEngine.EventSystems; using UnityEngine.UI; using UnityExtensionMethods; +#if !UNITY_WEBGL +using System; +using UnityEngine.Events; +#endif #if !UNITY_ANDROID && !UNITY_IOS using SimpleFileBrowser; #endif @@ -58,6 +62,7 @@ public class GamesManagementMenu : SelectionPanel #if !UNITY_WEBGL private DecisionModal ImportModal => _importModal ??= Instantiate(gameImportModalPrefab).GetOrAddComponent(); + private DecisionModal _importModal; #endif