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