diff --git a/sample-unity6/Assets/Settings/Build Profiles/Windows Profile.asset b/sample-unity6/Assets/Settings/Build Profiles/Windows Profile.asset index 8e7c9e9c7..bc8c0632d 100644 --- a/sample-unity6/Assets/Settings/Build Profiles/Windows Profile.asset +++ b/sample-unity6/Assets/Settings/Build Profiles/Windows Profile.asset @@ -20,7 +20,8 @@ MonoBehaviour: rid: 5612885467593965569 m_OverrideGlobalSceneList: 0 m_Scenes: [] - m_ScriptingDefines: [] + m_ScriptingDefines: + - UWB_WEBVIEW m_PlayerSettingsYaml: m_Settings: - line: '| PlayerSettings:' diff --git a/sample-unity6/Packages/manifest.json b/sample-unity6/Packages/manifest.json index 5c075a3d8..8123801b4 100644 --- a/sample-unity6/Packages/manifest.json +++ b/sample-unity6/Packages/manifest.json @@ -17,6 +17,9 @@ "com.unity.ugui": "2.0.0", "com.unity.uiextensions": "2.2.4", "com.unity.visualscripting": "1.9.7", + "dev.voltstro.unitywebbrowser": "2.2.7", + "dev.voltstro.unitywebbrowser.engine.cef": "2.2.7", + "dev.voltstro.unitywebbrowser.engine.cef.win.x64": "2.2.7", "com.unity.modules.accessibility": "1.0.0", "com.unity.modules.ai": "1.0.0", "com.unity.modules.androidjni": "1.0.0", @@ -71,6 +74,14 @@ "scopes": [ "com.unity.uiextensions" ] + }, + { + "name": "VoltUPR", + "url": "https://upr.voltstro.dev", + "scopes": [ + "dev.voltstro", + "org.nuget" + ] } ] } diff --git a/sample-unity6/ProjectSettings/ProjectSettings.asset b/sample-unity6/ProjectSettings/ProjectSettings.asset index 9099982fd..83f308bb7 100644 --- a/sample-unity6/ProjectSettings/ProjectSettings.asset +++ b/sample-unity6/ProjectSettings/ProjectSettings.asset @@ -777,7 +777,8 @@ PlayerSettings: webGLWebAssemblyBigInt: 0 webGLCloseOnQuit: 0 webWasm2023: 0 - scriptingDefineSymbols: {} + scriptingDefineSymbols: + Standalone: UWB_WEBVIEW additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: diff --git a/sample/Packages/manifest.json b/sample/Packages/manifest.json index c52b1ba51..5b317d798 100644 --- a/sample/Packages/manifest.json +++ b/sample/Packages/manifest.json @@ -15,6 +15,9 @@ "com.unity.textmeshpro": "3.0.9", "com.unity.uiextensions": "2.2.4", "com.unity.visualscripting": "1.9.1", + "dev.voltstro.unitywebbrowser": "2.2.7", + "dev.voltstro.unitywebbrowser.engine.cef": "2.2.7", + "dev.voltstro.unitywebbrowser.engine.cef.win.x64": "2.2.7", "com.unity.modules.ai": "1.0.0", "com.unity.modules.androidjni": "1.0.0", "com.unity.modules.animation": "1.0.0", @@ -68,6 +71,14 @@ "scopes": [ "com.unity.uiextensions" ] + }, + { + "name": "VoltUPR", + "url": "https://upr.voltstro.dev", + "scopes": [ + "dev.voltstro", + "org.nuget" + ] } ] } diff --git a/sample/Packages/packages-lock.json b/sample/Packages/packages-lock.json index cf6aa2dc3..be40a4116 100644 --- a/sample/Packages/packages-lock.json +++ b/sample/Packages/packages-lock.json @@ -12,8 +12,8 @@ "url": "https://package.openupm.com" }, "com.cysharp.unitask": { - "version": "2.3.3", - "depth": 0, + "version": "2.5.10", + "depth": 1, "source": "registry", "dependencies": {}, "url": "https://package.openupm.com" @@ -92,7 +92,7 @@ "url": "https://packages.unity.com" }, "com.unity.nuget.newtonsoft-json": { - "version": "3.2.0", + "version": "3.2.1", "depth": 1, "source": "registry", "dependencies": {}, @@ -161,6 +161,50 @@ }, "url": "https://packages.unity.com" }, + "dev.voltstro.nativearrayspanextensions": { + "version": "1.0.1", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://upr.voltstro.dev" + }, + "dev.voltstro.unitywebbrowser": { + "version": "2.2.7", + "depth": 0, + "source": "registry", + "dependencies": { + "dev.voltstro.nativearrayspanextensions": "1.0.1", + "com.unity.nuget.newtonsoft-json": "3.2.1", + "com.cysharp.unitask": "2.5.10", + "org.nuget.voltrpc": "3.2.1" + }, + "url": "https://upr.voltstro.dev" + }, + "dev.voltstro.unitywebbrowser.engine.cef": { + "version": "2.2.7", + "depth": 0, + "source": "registry", + "dependencies": { + "dev.voltstro.unitywebbrowser": "2.2.7" + }, + "url": "https://upr.voltstro.dev" + }, + "dev.voltstro.unitywebbrowser.engine.cef.win.x64": { + "version": "2.2.7", + "depth": 0, + "source": "registry", + "dependencies": { + "dev.voltstro.unitywebbrowser.engine.cef": "2.2.7" + }, + "url": "https://upr.voltstro.dev" + }, + "org.nuget.voltrpc": { + "version": "3.2.1", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://upr.voltstro.dev" + }, "com.unity.modules.ai": { "version": "1.0.0", "depth": 0, diff --git a/sample/ProjectSettings/PackageManagerSettings.asset b/sample/ProjectSettings/PackageManagerSettings.asset index bb97be98f..37537df4c 100644 --- a/sample/ProjectSettings/PackageManagerSettings.asset +++ b/sample/ProjectSettings/PackageManagerSettings.asset @@ -50,11 +50,20 @@ MonoBehaviour: m_IsDefault: 0 m_Capabilities: 0 m_ConfigSource: 4 - m_UserSelectedRegistryName: npmjs + - m_Id: scoped:project:VoltUPR + m_Name: VoltUPR + m_Url: https://upr.voltstro.dev + m_Scopes: + - dev.voltstro + - org.nuget + m_IsDefault: 0 + m_Capabilities: 0 + m_ConfigSource: 4 + m_UserSelectedRegistryName: VoltUPR m_UserAddingNewScopedRegistry: 0 m_RegistryInfoDraft: m_Modified: 0 m_ErrorMessage: - m_UserModificationsInstanceId: -842 - m_OriginalInstanceId: -846 + m_UserModificationsInstanceId: -828 + m_OriginalInstanceId: -832 m_LoadAssets: 0 diff --git a/sample/ProjectSettings/ProjectSettings.asset b/sample/ProjectSettings/ProjectSettings.asset index 25bddfc48..8c4de5cc7 100644 --- a/sample/ProjectSettings/ProjectSettings.asset +++ b/sample/ProjectSettings/ProjectSettings.asset @@ -776,7 +776,7 @@ PlayerSettings: webGLPowerPreference: 2 scriptingDefineSymbols: Android: VUPLEX_STANDALONE - Standalone: VUPLEX_STANDALONE + Standalone: UWB_WEBVIEW;VUPLEX_STANDALONE iPhone: additionalCompilerArguments: Standalone: diff --git a/src/Packages/Passport/Editor/UwbSymbolManager.cs b/src/Packages/Passport/Editor/UwbSymbolManager.cs new file mode 100644 index 000000000..2527fa4a4 --- /dev/null +++ b/src/Packages/Passport/Editor/UwbSymbolManager.cs @@ -0,0 +1,111 @@ +using UnityEngine; +using UnityEditor; +using System.Linq; + +namespace Immutable.Passport.Editor +{ + /// + /// Automatically manages UWB_WEBVIEW scripting define symbol + /// based on whether UnityWebBrowser is present in the project. + /// + [InitializeOnLoad] + public static class UwbSymbolManager + { + private const string UWB_SYMBOL = "UWB_WEBVIEW"; + + static UwbSymbolManager() + { + // Run on editor startup and after assembly reload + EditorApplication.delayCall += CheckAndUpdateUwbSymbol; + } + + private static void CheckAndUpdateUwbSymbol() + { + try + { + // Check if UnityWebBrowser assembly exists + bool uwbExists = DoesUwbAssemblyExist(); + + // Get current build target group + var buildTargetGroup = EditorUserBuildSettings.selectedBuildTargetGroup; + + // Get current scripting define symbols + var currentSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(buildTargetGroup); + var symbolList = currentSymbols.Split(';').Where(s => !string.IsNullOrEmpty(s)).ToList(); + + bool symbolExists = symbolList.Contains(UWB_SYMBOL); + + // Update symbol if needed + if (uwbExists && !symbolExists) + { + // Add symbol + symbolList.Add(UWB_SYMBOL); + var newSymbols = string.Join(";", symbolList); + PlayerSettings.SetScriptingDefineSymbolsForGroup(buildTargetGroup, newSymbols); + Debug.Log($"[UwbSymbolManager] Added {UWB_SYMBOL} symbol - UnityWebBrowser detected"); + } + else if (!uwbExists && symbolExists) + { + // Remove symbol + symbolList.Remove(UWB_SYMBOL); + var newSymbols = string.Join(";", symbolList); + PlayerSettings.SetScriptingDefineSymbolsForGroup(buildTargetGroup, newSymbols); + Debug.Log($"[UwbSymbolManager] Removed {UWB_SYMBOL} symbol - UnityWebBrowser not found"); + } + + // Log current status (only once per session to avoid spam) + if (!SessionState.GetBool("UwbSymbolManager.LoggedStatus", false)) + { + if (uwbExists) + { + Debug.Log($"[UwbSymbolManager] UnityWebBrowser available, {UWB_SYMBOL} symbol active"); + } + else + { + Debug.Log($"[UwbSymbolManager] UnityWebBrowser not found"); + } + + SessionState.SetBool("UwbSymbolManager.LoggedStatus", true); + } + } + catch (System.Exception ex) + { + Debug.LogError($"[UwbSymbolManager] Error managing UWB symbol: {ex.Message}"); + } + } + + private static bool DoesUwbAssemblyExist() + { + // Check for UnityWebBrowser in multiple ways + + // Method 1: Check compiled assemblies by name + var assemblies = System.AppDomain.CurrentDomain.GetAssemblies(); + if (assemblies.Any(a => a.GetName().Name == "VoltstroStudios.UnityWebBrowser")) + { + return true; + } + + // Method 2: Check for a well-known UWB type + var uwbType = System.Type.GetType("VoltstroStudios.UnityWebBrowser.Core.WebBrowserClient, VoltstroStudios.UnityWebBrowser"); + if (uwbType != null) + { + return true; + } + + // Method 3: Check for UWB assets in project (by name hint) + var uwbAssets = AssetDatabase.FindAssets("UnityWebBrowser t:ScriptableObject"); + foreach (var guid in uwbAssets) + { + var path = AssetDatabase.GUIDToAssetPath(guid); + if (path.Contains("UnityWebBrowser")) + { + return true; + } + } + + return false; + } + } +} + + diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeArrayExtensions.cs.meta b/src/Packages/Passport/Editor/UwbSymbolManager.cs.meta similarity index 83% rename from src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeArrayExtensions.cs.meta rename to src/Packages/Passport/Editor/UwbSymbolManager.cs.meta index 145f60940..0efef2254 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeArrayExtensions.cs.meta +++ b/src/Packages/Passport/Editor/UwbSymbolManager.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4c9bbfde19106df4eb0d09fb4c83092c +guid: 980f02112c86d7a4982dbe936b9fb3af MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/Packages/Passport/Runtime/Scripts/Private/Immutable.Passport.Runtime.Private.asmdef b/src/Packages/Passport/Runtime/Scripts/Private/Immutable.Passport.Runtime.Private.asmdef index 5e9e9c5da..dd2ea3635 100644 --- a/src/Packages/Passport/Runtime/Scripts/Private/Immutable.Passport.Runtime.Private.asmdef +++ b/src/Packages/Passport/Runtime/Scripts/Private/Immutable.Passport.Runtime.Private.asmdef @@ -2,7 +2,6 @@ "name": "Immutable.Passport.Runtime.Private", "rootNamespace": "Immutable.Passport", "references": [ - "VoltstroStudios.UnityWebBrowser", "UniTask", "Immutable.Browser.Core", "Immutable.Browser.Gree", @@ -22,8 +21,7 @@ "allowUnsafeCode": false, "overrideReferences": true, "precompiledReferences": [ - "Newtonsoft.Json.dll", - "VoltstroStudios.UnityWebBrowser.Shared.dll" + "Newtonsoft.Json.dll" ], "autoReferenced": true, "defineConstraints": [], diff --git a/src/Packages/Passport/Runtime/Scripts/Private/UI/IPassportWebView.cs b/src/Packages/Passport/Runtime/Scripts/Private/UI/IPassportWebView.cs index d29a7f794..b864c9387 100644 --- a/src/Packages/Passport/Runtime/Scripts/Private/UI/IPassportWebView.cs +++ b/src/Packages/Passport/Runtime/Scripts/Private/UI/IPassportWebView.cs @@ -105,6 +105,25 @@ public interface IPassportWebView void Dispose(); } + /// + /// Optional capability for WebViews that support updating their internal rendering resolution. + /// Used by PassportUI to keep the underlying WebView resolution in sync with the UI. + /// + public interface IResizablePassportWebView : IPassportWebView + { + /// + /// Update the internal resolution of the WebView. + /// + /// New width in pixels. + /// New height in pixels. + void UpdateInternalResolution(int width, int height); + + /// + /// Apply any pending resolution updates (intended to be called from the main thread per frame). + /// + void UpdatePendingResolution(); + } + /// /// Configuration options for PassportUI WebView /// diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16.meta b/src/Packages/Passport/Runtime/Scripts/Private/Uwb.meta similarity index 77% rename from src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16.meta rename to src/Packages/Passport/Runtime/Scripts/Private/Uwb.meta index 719a35b01..ca5a3d4f2 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16.meta +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4657c5fb2b5694de48f3e3a25fddabc8 +guid: 305594259240aab4eacd999b486d3fe1 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/src/Packages/Passport/Runtime/Scripts/Private/Uwb/Immutable.Passport.Runtime.Uwb.asmdef b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/Immutable.Passport.Runtime.Uwb.asmdef new file mode 100644 index 000000000..3dc7abb36 --- /dev/null +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/Immutable.Passport.Runtime.Uwb.asmdef @@ -0,0 +1,33 @@ +{ + "name": "Immutable.Passport.Runtime.Uwb", + "rootNamespace": "Immutable.Passport", + "references": [ + "Immutable.Passport.Runtime.Private", + "Immutable.Browser.Core", + "Immutable.Passport.Core.Logging", + "UniTask", + "VoltstroStudios.UnityWebBrowser" + ], + "includePlatforms": [ + "Android", + "Editor", + "iOS", + "macOSStandalone", + "WindowsStandalone64", + "WebGL" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "VoltstroStudios.UnityWebBrowser.Shared.dll" + ], + "autoReferenced": true, + "defineConstraints": [ + "UWB_WEBVIEW" + ], + "versionDefines": [], + "noEngineReferences": false +} + + diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/VoltstroStudios.UnityWebBrowser.asmdef.meta b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/Immutable.Passport.Runtime.Uwb.asmdef.meta similarity index 76% rename from src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/VoltstroStudios.UnityWebBrowser.asmdef.meta rename to src/Packages/Passport/Runtime/Scripts/Private/Uwb/Immutable.Passport.Runtime.Uwb.asmdef.meta index 28323a9eb..9d127fff7 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/VoltstroStudios.UnityWebBrowser.asmdef.meta +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/Immutable.Passport.Runtime.Uwb.asmdef.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 81c45b02d81461a458ab2c240a65ccf1 +guid: 3d2ee11f40a8e914e8dbece7c1eaae09 AssemblyDefinitionImporter: externalObjects: {} userData: diff --git a/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbLogConfig.cs b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbLogConfig.cs new file mode 100644 index 000000000..e53759019 --- /dev/null +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbLogConfig.cs @@ -0,0 +1,31 @@ +using Immutable.Passport.Core.Logging; +using VoltstroStudios.UnityWebBrowser.Core; +using VoltstroStudios.UnityWebBrowser.Logging; +using VoltstroStudios.UnityWebBrowser.Shared; + +namespace Immutable.Passport +{ + internal static class UwbLogConfig + { + internal static void ApplyTo(WebBrowserClient browserClient) + { + if (browserClient == null) + { + return; + } + + browserClient.logSeverity = PassportLogger.CurrentLogLevel switch + { + LogLevel.Debug => LogSeverity.Debug, + LogLevel.Warn => LogSeverity.Warn, + LogLevel.Error => LogSeverity.Error, + _ => LogSeverity.Info + }; + + if (browserClient.Logger is not DefaultUnityWebBrowserLogger) + { + browserClient.Logger = new DefaultUnityWebBrowserLogger(); + } + } + } +} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/SpanExtensions.cs.meta b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbLogConfig.cs.meta similarity index 83% rename from src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/SpanExtensions.cs.meta rename to src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbLogConfig.cs.meta index c258a8d00..0ef537ab2 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/SpanExtensions.cs.meta +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbLogConfig.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 88ea2cbe4aa58bd48947fdca4157f2be +guid: aa2f94cd9cd8d1b45850825dfff7faf9 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs new file mode 100644 index 000000000..efd09a06f --- /dev/null +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs @@ -0,0 +1,150 @@ +#if UWB_WEBVIEW && !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) + +using System; +using System.IO; +using System.Linq; +using System.Net.NetworkInformation; +using System.Threading.Tasks; +using UnityEngine; +using UnityEngine.UI; +using Cysharp.Threading.Tasks; +using Immutable.Browser.Core; +using VoltstroStudios.UnityWebBrowser; +using VoltstroStudios.UnityWebBrowser.Communication; +using VoltstroStudios.UnityWebBrowser.Core; +using VoltstroStudios.UnityWebBrowser.Core.Engines; +using VoltstroStudios.UnityWebBrowser.Core.Js; +using VoltstroStudios.UnityWebBrowser.Helper; +using VoltstroStudios.UnityWebBrowser.Input; + +namespace Immutable.Passport +{ + /// + /// UnityWebBrowser-based implementation of IWebBrowserClient used by Passport on Windows. + /// + public class UwbWebView : MonoBehaviour, IWebBrowserClient + { + public event OnUnityPostMessageDelegate? OnUnityPostMessage; + +#if (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX || UNITY_WEBGL + public event OnUnityPostMessageDelegate? OnAuthPostMessage; + public event OnUnityPostMessageErrorDelegate? OnPostMessageError; +#endif + + private WebBrowserClient? webBrowserClient; + + public async UniTask Init(int engineStartupTimeoutMs, bool redactTokensInLogs, Func redactionHandler) + { + GameObject persistentObject = new GameObject("UWB_Bridge"); + + var rawImage = persistentObject.AddComponent(); + rawImage.color = Color.clear; + + var ui = persistentObject.AddComponent(); + + // Assign a basic input handler so UWB doesn't throw + var inputHandler = ScriptableObject.CreateInstance(); + ui.inputHandler = inputHandler; + + DontDestroyOnLoad(persistentObject); + + WebBrowserClient browserClient = ui.browserClient; + browserClient.engineStartupTimeout = engineStartupTimeoutMs; + + // Apply Passport logging preferences to the UWB client + UwbLogConfig.ApplyTo(browserClient); + + // Js + browserClient.jsMethodManager = new JsMethodManager { jsMethodsEnable = true }; + browserClient.RegisterJsMethod("callback", + (message) => { OnUnityPostMessage?.Invoke(message); }); + + // Cache + var browserEngineMainDir = WebBrowserUtils.GetAdditionFilesDirectory(); + browserClient.CachePath = new FileInfo(Path.Combine(browserEngineMainDir, "ImmutableSDK/UWBCache")); + + // Game bridge path + browserClient.initialUrl = GameBridge.GetFilePath(); + + // Set up engine from standard UWB configuration asset + var engineConfigAsset = Resources.Load("Cef Engine Configuration"); + if (engineConfigAsset == null) + { + Debug.LogError("[UwbWebView] Could not find 'Cef Engine Configuration' Resources asset. " + + "Ensure the UnityWebBrowser engine package is installed."); + } + else + { + var engineConfig = ScriptableObject.Instantiate(engineConfigAsset); + browserClient.engine = engineConfig; + } + + // Find available ports + TCPCommunicationLayer tcpCommunicationLayer = ScriptableObject.CreateInstance(); + var rnd = new System.Random(); + do + { + tcpCommunicationLayer.inPort = rnd.Next(1024, 65353); + tcpCommunicationLayer.outPort = tcpCommunicationLayer.inPort + 1; + } while (!CheckAvailableServerPort(tcpCommunicationLayer.inPort) || !CheckAvailableServerPort(tcpCommunicationLayer.outPort)); + + browserClient.communicationLayer = tcpCommunicationLayer; + + await WaitForClientConnected(browserClient); + + this.webBrowserClient = browserClient; + } + + private UniTask WaitForClientConnected(WebBrowserClient webBrowserClient) + { + var tcs = new TaskCompletionSource(); + + webBrowserClient.OnLoadFinish += OnLoadFinish; + + return tcs.Task.AsUniTask(); + + void OnLoadFinish(string url) + { + webBrowserClient.OnLoadFinish -= OnLoadFinish; + tcs.SetResult(true); + } + } + + private bool CheckAvailableServerPort(int port) + { + var tcpConnInfoArray = IPGlobalProperties.GetIPGlobalProperties().GetActiveTcpListeners(); + return tcpConnInfoArray.All(endpoint => endpoint.Port != port); + } + + public void ExecuteJs(string js) + { + webBrowserClient?.ExecuteJs(js); + } + + public void LaunchAuthURL(string url, string redirectUri) + { + Application.OpenURL(url); + } + +#if (UNITY_IPHONE && !UNITY_EDITOR) || (UNITY_ANDROID && !UNITY_EDITOR) + public void ClearCache(bool includeDiskFiles) + { + } + + public void ClearStorage() + { + } +#endif + +#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN) + public void Dispose() + { + if (webBrowserClient?.HasDisposed == true) return; + + webBrowserClient?.Dispose(); + } +#endif + } +} + +#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/Utils.cs.meta b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs.meta similarity index 83% rename from src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/Utils.cs.meta rename to src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs.meta index 3c33f19d0..e450c9423 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/Utils.cs.meta +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: a5bd428052f1779429f8ab5138366f9e +guid: d9beb729af2680041a31b2827ba345b9 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/WindowsPassportWebView.cs b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/WindowsPassportWebView.cs similarity index 96% rename from src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/WindowsPassportWebView.cs rename to src/Packages/Passport/Runtime/Scripts/Private/Uwb/WindowsPassportWebView.cs index 29f824e04..3f0c5ec19 100644 --- a/src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/WindowsPassportWebView.cs +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/WindowsPassportWebView.cs @@ -22,7 +22,7 @@ using System.Runtime.InteropServices; #endif -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) +#if !IMMUTABLE_CUSTOM_BROWSER && UWB_WEBVIEW && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) using VoltstroStudios.UnityWebBrowser; using VoltstroStudios.UnityWebBrowser.Core; using VoltstroStudios.UnityWebBrowser.Core.Engines; @@ -37,12 +37,12 @@ namespace Immutable.Passport { -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) +#if !IMMUTABLE_CUSTOM_BROWSER && UWB_WEBVIEW && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) /// /// Windows implementation of IPassportWebView using Volt Unity Web Browser (UWB) /// Wraps all UWB-specific functionality in a clean, platform-agnostic interface /// - public class WindowsPassportWebView : IPassportWebView + public class WindowsPassportWebView : IResizablePassportWebView { private const string TAG = "[WindowsPassportWebView]"; @@ -348,11 +348,11 @@ public void UpdatePendingResolution() } /// - /// Update the UWB internal resolution to match new dimensions + /// Update the UWB internal resolution to match new dimensions. /// /// New width in pixels /// New height in pixels - public void UpdateUWBResolution(int width, int height) + public void UpdateInternalResolution(int width, int height) { if (!isInitialized || webBrowserClient == null || !webBrowserClient.IsConnected) { @@ -516,10 +516,12 @@ private void ConfigureUWBSettings() } } - // Configure for UI display (not headless) - webBrowserClient.headless = false; + // Configure for UI display webBrowserClient.popupAction = PopupAction.OpenExternalWindow; + // Apply Passport logging preferences to the UWB client + UwbLogConfig.ApplyTo(webBrowserClient); + // Set initial URL (use about:blank for fast startup, pre-load login page separately) if (!string.IsNullOrEmpty(config.InitialUrl) && config.InitialUrl != "about:blank") { @@ -588,24 +590,16 @@ private void ConfigureIsolatedInstance() private void ConfigureEngine() { - var engineConfig = ScriptableObject.CreateInstance(); - engineConfig.engineAppName = "UnityWebBrowser.Engine.Cef"; - - List engineFiles = new List + // Load engine configuration from the standard UnityWebBrowser asset + var engineConfigAsset = Resources.Load("Cef Engine Configuration"); + if (engineConfigAsset == null) { - new EnginePlatformFiles - { - platform = Platform.Windows64, - engineBaseAppLocation = "", - engineRuntimeLocation = "UWB/" -#if UNITY_EDITOR - , - engineEditorLocation = "Packages/com.immutable.passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~" -#endif - } - }; + PassportLogger.Error($"{TAG} Could not find 'Cef Engine Configuration' Resources asset. " + + "Ensure the UnityWebBrowser engine package is installed."); + return; + } - engineConfig.engineFiles = engineFiles.ToArray(); + var engineConfig = ScriptableObject.Instantiate(engineConfigAsset); webBrowserClient.engine = engineConfig; } diff --git a/src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/WindowsPassportWebView.cs.meta b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/WindowsPassportWebView.cs.meta similarity index 83% rename from src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/WindowsPassportWebView.cs.meta rename to src/Packages/Passport/Runtime/Scripts/Private/Uwb/WindowsPassportWebView.cs.meta index 54982f33a..dd70cd64e 100644 --- a/src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/WindowsPassportWebView.cs.meta +++ b/src/Packages/Passport/Runtime/Scripts/Private/Uwb/WindowsPassportWebView.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: adceafe5674e623438175e397e10a2d4 +guid: 87399a8033dc0f54db6a960da96f2d18 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/src/Packages/Passport/Runtime/Scripts/Public/Immutable.Passport.Runtime.asmdef b/src/Packages/Passport/Runtime/Scripts/Public/Immutable.Passport.Runtime.asmdef index 73c95a28b..610f121e6 100644 --- a/src/Packages/Passport/Runtime/Scripts/Public/Immutable.Passport.Runtime.asmdef +++ b/src/Packages/Passport/Runtime/Scripts/Public/Immutable.Passport.Runtime.asmdef @@ -6,8 +6,7 @@ "Immutable.Browser.Core", "Immutable.Browser.Gree", "Immutable.Passport.Runtime.Private", - "Immutable.Passport.Core.Logging", - "VoltstroStudios.UnityWebBrowser" + "Immutable.Passport.Core.Logging" ], "includePlatforms": [ "Android", @@ -21,8 +20,7 @@ "allowUnsafeCode": false, "overrideReferences": true, "precompiledReferences": [ - "Newtonsoft.Json.dll", - "VoltstroStudios.UnityWebBrowser.Shared.dll" + "Newtonsoft.Json.dll" ], "autoReferenced": true, "defineConstraints": [], diff --git a/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs b/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs index b74b0ba26..e97ef0fda 100644 --- a/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs +++ b/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs @@ -2,12 +2,6 @@ using System; using System.Text.RegularExpressions; #if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN) -#if !IMMUTABLE_CUSTOM_BROWSER -using VoltstroStudios.UnityWebBrowser; -using VoltstroStudios.UnityWebBrowser.Core; -using VoltstroStudios.UnityWebBrowser.Shared; -using VoltstroStudios.UnityWebBrowser.Logging; -#endif #elif (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX || UNITY_WEBGL using Immutable.Browser.Gree; #endif @@ -71,10 +65,6 @@ public static LogLevel LogLevel { _logLevel = value; PassportLogger.CurrentLogLevel = _logLevel; - -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - SetDefaultWindowsBrowserLogLevel(); -#endif } } @@ -100,10 +90,6 @@ public static bool RedactTokensInLogs { _redactTokensInLogs = value; PassportLogger.RedactionHandler = value ? RedactTokenValues : null; - -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - SetWindowsRedactionHandler(); -#endif } } @@ -229,9 +215,56 @@ private async UniTask Initialise( throw new PassportException("When 'IMMUTABLE_CUSTOM_BROWSER' is defined in Scripting Define Symbols, " + " 'windowsWebBrowserClient' must not be null."); #else - _webBrowserClient = gameObject.AddComponent(); - await ((UwbWebView)_webBrowserClient).Init(engineStartupTimeoutMs, _redactTokensInLogs, RedactTokenValues); - _readySignalReceived = true; +#if UWB_WEBVIEW + var uwbType = Type.GetType("Immutable.Passport.UwbWebView, Immutable.Passport.Runtime.Uwb"); + if (uwbType == null) + { + throw new PassportException( + "UnityWebBrowser integration is enabled (UWB_WEBVIEW) but UwbWebView type could not be found. " + + "Ensure the Immutable.Passport.Runtime.Uwb assembly is present.", + PassportErrorType.INITALISATION_ERROR); + } + + var component = gameObject.AddComponent(uwbType) as MonoBehaviour; + if (component is not IWebBrowserClient browserClient) + { + throw new PassportException( + "UwbWebView does not implement IWebBrowserClient.", + PassportErrorType.INITALISATION_ERROR); + } + + _webBrowserClient = browserClient; + + var initMethod = uwbType.GetMethod("Init", System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance); + if (initMethod == null) + { + throw new PassportException( + "UwbWebView.Init method could not be found.", + PassportErrorType.INITALISATION_ERROR); + } + + try + { + var taskObj = initMethod.Invoke(component, new object[] { engineStartupTimeoutMs, _redactTokensInLogs, (Func)RedactTokenValues }); + if (taskObj is UniTask initTask) + { + await initTask; + } + + _readySignalReceived = true; + } + catch (Exception ex) + { + throw new PassportException( + $"Failed to initialise UwbWebView: {ex.Message}", + PassportErrorType.INITALISATION_ERROR); + } +#else + throw new PassportException( + "UnityWebBrowser integration is not available. Either install UnityWebBrowser (enabling the UWB_WEBVIEW scripting define symbol) " + + "or provide a custom IWindowsWebBrowserClient when calling Passport.Init.", + PassportErrorType.INITALISATION_ERROR); +#endif #endif } #elif (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX || UNITY_WEBGL @@ -557,33 +590,6 @@ public void ClearStorage() } #endif -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - /// - /// Updates the log severity for the default Windows browser based on the current SDK log level. - /// - private static void SetDefaultWindowsBrowserLogLevel() - { - if (Instance?._webBrowserClient is WebBrowserClient browserClient) - { - browserClient.logSeverity = _logLevel switch - { - LogLevel.Debug => LogSeverity.Debug, - LogLevel.Warn => LogSeverity.Warn, - LogLevel.Error => LogSeverity.Error, - _ => LogSeverity.Info - }; - } - } - - private static void SetWindowsRedactionHandler() - { - if (Instance?._webBrowserClient is WebBrowserClient browserClient) - { - browserClient.Logger = new DefaultUnityWebBrowserLogger(redactionHandler: _redactTokensInLogs ? RedactTokenValues : null); - } - } -#endif - /// /// Redacts access and ID token data from a log message if found. /// @@ -744,4 +750,4 @@ private static bool IsHttpProtocol(string uri) } #endif } -} +} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/Scripts/Public/PassportUI.cs b/src/Packages/Passport/Runtime/Scripts/Public/PassportUI.cs index 64298b128..e6086a995 100644 --- a/src/Packages/Passport/Runtime/Scripts/Public/PassportUI.cs +++ b/src/Packages/Passport/Runtime/Scripts/Public/PassportUI.cs @@ -412,9 +412,31 @@ private void CreateWebView() /// private IPassportWebView CreatePlatformWebView() { -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) +#if !IMMUTABLE_CUSTOM_BROWSER && UWB_WEBVIEW && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) PassportLogger.Info($"{TAG} Creating Windows WebView (UWB)"); - return new WindowsPassportWebView(rawImage, this); + try + { + var uwbType = Type.GetType("Immutable.Passport.WindowsPassportWebView, Immutable.Passport.Runtime.Uwb"); + if (uwbType == null) + { + PassportLogger.Error($"{TAG} WindowsPassportWebView type not found. Ensure the UWB runtime assembly is present."); + return null; + } + + var instance = Activator.CreateInstance(uwbType, rawImage, this) as IPassportWebView; + if (instance == null) + { + PassportLogger.Error($"{TAG} Failed to create WindowsPassportWebView instance."); + return null; + } + + return instance; + } + catch (Exception ex) + { + PassportLogger.Error($"{TAG} Error creating Windows WebView (UWB): {ex.Message}"); + return null; + } #elif UNITY_IOS && VUPLEX_WEBVIEW PassportLogger.Info($"{TAG} Creating iOS WebView (Vuplex)"); return new iOSPassportWebView(rawImage); @@ -630,11 +652,11 @@ private void UpdateWebViewResolution() { if (webView != null && isInitialized && webViewWidth > 0 && webViewHeight > 0) { -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) - // For Windows UWB, update the internal resolution - if (webView is WindowsPassportWebView windowsWebView) +#if UWB_WEBVIEW && !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) + // For Windows UWB, update the internal resolution if the view supports it + if (webView is IResizablePassportWebView resizable) { - windowsWebView.UpdateUWBResolution(webViewWidth, webViewHeight); + resizable.UpdateInternalResolution(webViewWidth, webViewHeight); } #endif // For other platforms (Vuplex), the RectTransform size is sufficient @@ -647,11 +669,11 @@ private void UpdateWebViewResolution() /// private void Update() { -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) - // Check for pending resolution updates on Windows WebView - if (webView is WindowsPassportWebView windowsWebView) +#if UWB_WEBVIEW && !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_EDITOR && UNITY_EDITOR_WIN)) + // Check for pending resolution updates on Windows WebView if the view supports it + if (webView is IResizablePassportWebView resizable) { - windowsWebView.UpdatePendingResolution(); + resizable.UpdatePendingResolution(); } #endif } diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser.meta deleted file mode 100644 index 70b7df71c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: bb44b45d7e604d10938ac8e4ec36363f -timeCreated: 1732750801 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1.meta deleted file mode 100644 index 0e9cc2761..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9e7ac8734d89a0b4fb43991a9c633beb -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/LICENSE.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/LICENSE.md deleted file mode 100644 index 845bb1f59..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Voltstro-Studios - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/LICENSE.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/LICENSE.md.meta deleted file mode 100644 index 0beab498d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 231838130a6630d40b7ec27434427507 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/README.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/README.md deleted file mode 100644 index 992b83c33..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/README.md +++ /dev/null @@ -1,74 +0,0 @@ -# Native Array Span Extensions - -[![License](https://img.shields.io/github/license/Voltstro-Studios/NativeArraySpanExtensions.svg)](/LICENSE.md) -[![Discord](https://img.shields.io/badge/Discord-Voltstro-7289da.svg?logo=discord)](https://discord.voltstro.dev) -[![YouTube](https://img.shields.io/badge/Youtube-Voltstro-red.svg?logo=youtube)](https://www.youtube.com/Voltstro) - -Provides extensions to Unity's `NativeArray` that make using .NET's Span with them easier. - -## Features - -- Provides theses extensions to `NativeArray`: - - `CopyTo` for copying to a `Span` - - `CopyFrom` for copying from a `ReadOnlySpan` - - Same extensions are also available for `NativeSlice` -- Provides theses extensions to `Span` and `ReadOnlySpan`: - - `CopyTo` for copying a span to a `NativeArray` - - `ToNativeArray` for creating a new `NativeArray` and copying the span's buffer to it - -## Getting Started - -### Package Installation - -#### Prerequisites - -``` -Unity 2020.3.x -(Unity 2021.3.x is the recommended version however) -``` - -(Newer Unity versions should be fine as well) - -#### Unity 2020.3.x Prerequisites - -**IF YOU ARE USING UNITY 2020.3.x WITH THIS PACKAGE, READ THIS**. (Newer versions do not need this step!) - -`System.Memory` dll is required (this is where `Span` use to come from). This package it self has no direct dependent installation method for `System.Memory`. You can either install it directly into your Unity project from [NuGet](https://www.nuget.org/packages/System.Memory) (by extracting it from the `.nupkg` file), or via an automatic seamless UPM integration, such as [Voltstro UPM](https://github.com/Voltstro/VoltstroUPM#using-unitynuget-packages), [OpenUPM](https://openupm.com/nuget/), or [UnityNuGet](https://github.com/xoofx/UnityNuGet). - -### Installation Methods - -There are three main sources on how you can install this package. Pick which ever one suites you the best! - -#### Voltstro UPM Registry - -You can install this package from our custom UPM registry. To setup our registry, -see [here](https://github.com/Voltstro/VoltstroUPM#setup). - -Once you have the registry added to your project, you can install it like any other package via the package manager. - -#### OpenUPM - -You can install this package via [OpenUPM](https://openupm.com/). - -To install it, use their CLI: - -```bash -openupm add dev.voltstro.nativearrayspanextensions -``` - -#### Git - -To install it via the package manager with git you will need to: - -1. Open up the package manager via Windows **->** Package Manager -2. Click on the little + sign **->** Add package from git URL... -3. Type `https://github.com/Voltstro-Studios/NativeArraySpanExtensions.git` and add it -4. Unity will now download and install the package - -## Authors - -**Voltstro** - *Initial Work* - [Voltstro](https://github.com/Voltstro) - -## License - -This project is licensed under the MIT License - see the [LICENSE.md](/LICENSE.md) file for details. diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/README.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/README.md.meta deleted file mode 100644 index 0014e7453..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/README.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a9c9d045604675b4996069d14015d57e -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime.meta deleted file mode 100644 index 06689e03b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5ce183382e5d7ae45b9982a972b28dec -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeArrayExtensions.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeArrayExtensions.cs deleted file mode 100644 index 20fd0789c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeArrayExtensions.cs +++ /dev/null @@ -1,58 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -using System; -using Unity.Collections; -using Unity.Collections.LowLevel.Unsafe; - -namespace VoltstroStudios.NativeArraySpanExtensions -{ - /// - /// Provides copying utils to - /// - public static class NativeArrayExtensions - { - /// - /// Copy data from a to a - /// - /// - /// - /// - public static unsafe void CopyFrom(this NativeArray array, ReadOnlySpan source) - where T : unmanaged - { - Utils.CheckCopyLengths(source.Length, array.Length); - - //Calling GetUnsafePtr will check if the array is valid for us - //(if checks are enabled) - void* dstPtr = array.GetUnsafePtr(); - - fixed (void* srcPtr = source) - { - Utils.Copy(srcPtr, 0, dstPtr, 0, array.Length); - } - } - - /// - /// Copy data from a to a - /// - /// - /// - /// - public static unsafe void CopyTo(this NativeArray array, Span dst) - where T : unmanaged - { - Utils.CheckCopyLengths(array.Length, dst.Length); - - //Calling GetUnsafePtr will check if the array is valid for us - //(if checks are enabled) - void* srcPtr = array.GetUnsafePtr(); - - fixed (void* dstPtr = dst) - { - Utils.Copy(srcPtr, 0, dstPtr, 0, array.Length); - } - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeSliceExtensions.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeSliceExtensions.cs deleted file mode 100644 index b0f80baf7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeSliceExtensions.cs +++ /dev/null @@ -1,58 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -using System; -using Unity.Collections; -using Unity.Collections.LowLevel.Unsafe; - -namespace VoltstroStudios.NativeArraySpanExtensions -{ - /// - /// Provides copying utils to - /// - public static class NativeSliceExtensions - { - /// - /// Copy data from a to a - /// - /// - /// - /// - public static unsafe void CopyFrom(this NativeSlice array, ReadOnlySpan source) - where T : unmanaged - { - Utils.CheckCopyLengths(source.Length, array.Length); - - //Calling GetUnsafePtr will check if the array is valid for us - //(if checks are enabled) - void* dstPtr = array.GetUnsafePtr(); - - fixed (void* srcPtr = source) - { - Utils.Copy(srcPtr, 0, dstPtr, 0, array.Length); - } - } - - /// - /// Copy data from a to a - /// - /// - /// - /// - public static unsafe void CopyTo(this NativeSlice array, Span dst) - where T : unmanaged - { - Utils.CheckCopyLengths(array.Length, dst.Length); - - //Calling GetUnsafePtr will check if the array is valid for us - //(if checks are enabled) - void* srcPtr = array.GetUnsafePtr(); - - fixed (void* dstPtr = dst) - { - Utils.Copy(srcPtr, 0, dstPtr, 0, array.Length); - } - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeSliceExtensions.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeSliceExtensions.cs.meta deleted file mode 100644 index e68325246..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/NativeSliceExtensions.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: ed25a2d086022da44aa05ee225858aac -timeCreated: 1659940330 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/SpanExtensions.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/SpanExtensions.cs deleted file mode 100644 index c40c62117..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/SpanExtensions.cs +++ /dev/null @@ -1,68 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -using System; -using Unity.Collections; - -namespace VoltstroStudios.NativeArraySpanExtensions -{ - /// - /// Provides copying utils to - /// - public static class SpanExtensions - { - /// - /// Copy data from a to a - /// - /// - /// - /// - public static void CopyTo(this Span source, NativeArray dst) - where T : unmanaged - { - CopyTo((ReadOnlySpan)source, dst); - } - - /// - /// Copy data from a to a - /// - /// - /// - /// - public static void CopyTo(this ReadOnlySpan source, NativeArray dst) - where T : unmanaged - { - dst.CopyFrom(source); - } - - /// - /// Creates a from a - /// - /// - /// - /// - /// - public static NativeArray ToNativeArray(this Span source, Allocator allocator) - where T : unmanaged - { - return ToNativeArray((ReadOnlySpan)source, allocator); - } - - /// - /// Creates a from a - /// - /// - /// - /// - /// - public static NativeArray ToNativeArray(this ReadOnlySpan source, Allocator allocator) - where T : unmanaged - { - NativeArray newArray = new NativeArray(source.Length, allocator, NativeArrayOptions.UninitializedMemory); - newArray.CopyFrom(source); - return newArray; - } - } -} - - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/Utils.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/Utils.cs deleted file mode 100644 index e70d35b4c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/Utils.cs +++ /dev/null @@ -1,30 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -using System; -using System.Diagnostics; -using Unity.Collections.LowLevel.Unsafe; - -namespace VoltstroStudios.NativeArraySpanExtensions -{ - internal static class Utils - { - internal static unsafe void Copy(void* src, int srcIndex, - void* dst, int dstIndex, - int length) - where T : unmanaged - { - UnsafeUtility.MemCpy((void*)((IntPtr)dst + dstIndex * UnsafeUtility.SizeOf()), - (void*)((IntPtr)src + srcIndex * UnsafeUtility.SizeOf()), - length * UnsafeUtility.SizeOf()); - } - - [Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")] - internal static void CheckCopyLengths(int srcLength, int dstLength) - { - if (srcLength != dstLength) - throw new ArgumentException("source and destination length must be the same"); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/VoltstroStudios.NativeArraySpanExtensions.asmdef b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/VoltstroStudios.NativeArraySpanExtensions.asmdef deleted file mode 100644 index 645004974..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/VoltstroStudios.NativeArraySpanExtensions.asmdef +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "VoltstroStudios.NativeArraySpanExtensions", - "rootNamespace": "VoltstroStudios.NativeArraySpanExtensions", - "references": [], - "includePlatforms": [ - "Editor", - "WindowsStandalone64", - "macOSStandalone" - ], - "excludePlatforms": [], - "allowUnsafeCode": true, - "overrideReferences": false, - "precompiledReferences": [], - "autoReferenced": true, - "defineConstraints": [], - "versionDefines": [], - "noEngineReferences": false -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/VoltstroStudios.NativeArraySpanExtensions.asmdef.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/VoltstroStudios.NativeArraySpanExtensions.asmdef.meta deleted file mode 100644 index 5e1420d11..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/Runtime/VoltstroStudios.NativeArraySpanExtensions.asmdef.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 777a2cc989498874980801af392ecf69 -AssemblyDefinitionImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/package.json deleted file mode 100644 index 72dea3319..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "dev.voltstro.nativearrayspanextensions", - "displayName": "Native Array Span Extensions", - "version": "1.0.1", - "description": "Provides extensions to Unity's NativeArray that make using .NET's Span with them easier.", - "unity": "2020.3", - "keywords": [ - "native", - "nativearray", - "span", - "memory" - ], - "author": { - "name": "Voltstro", - "email": "me@voltstro.dev", - "url": "https://voltstro.dev" - }, - "repository": { - "type": "git", - "url": "https://github.com/Voltstro-Studios/NativeArraySpanExtensions" - }, - "type": "library" -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/package.json.meta deleted file mode 100644 index 004f1eb48..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.nativearrayspanextensions@1.0.1/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 01e4caaccc6c8334b99235fc68eacd0f -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/LICENSE.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/LICENSE.md deleted file mode 100644 index 5b7f48cde..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-2024 Voltstro-Studios - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/LICENSE.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/LICENSE.md.meta deleted file mode 100644 index 6cd728494..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fe09333555055432dad68641e2d31312 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/package.json deleted file mode 100644 index 09f65378a..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "dev.voltstro.unitywebbrowser.engine.cef.macos.arm64", - "displayName": "Unity Web Browser CEF Engine (MacOS arm64)", - "description": "CEF engine for Unity Web Browser (MacOS arm64).", - "version": "2.2.5-130.1.16", - "unity": "2021.2", - "author": { - "name": "Voltstro", - "email": "me@voltstro.dev", - "url": "https://voltstro.dev" - }, - "repository": { - "type": "git", - "url": "https://github.com/Voltstro-Studios/UnityWebBrowser.git" - }, - "changelogUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/changelog/", - "documentationUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/articles/user/engines/#cef-engine", - "licensesUrl": "https://github.com/Voltstro-Studios/UnityWebBrowser/blob/master/LICENSE.md", - "dependencies": { - "dev.voltstro.unitywebbrowser.engine.cef": "2.2.5-130.1.16" - } -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/package.json.meta deleted file mode 100644 index 751572954..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 25f2f9846ae244e6891f567c8d08ab2d -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16.meta deleted file mode 100644 index a1cc5e337..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3faf4f9374dc341f99901ca5aa8a3d3c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/LICENSE.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/LICENSE.md deleted file mode 100644 index 5b7f48cde..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-2024 Voltstro-Studios - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/LICENSE.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/LICENSE.md.meta deleted file mode 100644 index c97cdf246..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9809e4b21981842979ba21745c928434 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/package.json deleted file mode 100644 index 998096e66..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "dev.voltstro.unitywebbrowser.engine.cef.macos.x64", - "displayName": "Unity Web Browser CEF Engine (MacOS x64)", - "description": "CEF engine for Unity Web Browser (MacOS x64).", - "version": "2.2.5-130.1.16", - "unity": "2021.2", - "author": { - "name": "Voltstro", - "email": "me@voltstro.dev", - "url": "https://voltstro.dev" - }, - "repository": { - "type": "git", - "url": "https://github.com/Voltstro-Studios/UnityWebBrowser.git" - }, - "changelogUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/changelog/", - "documentationUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/articles/user/engines/#cef-engine", - "licensesUrl": "https://github.com/Voltstro-Studios/UnityWebBrowser/blob/master/LICENSE.md", - "dependencies": { - "dev.voltstro.unitywebbrowser.engine.cef": "2.2.5-130.1.16" - } -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/package.json.meta deleted file mode 100644 index 3449b8a69..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bd81b72557caa45f6aa41db0f703eeec -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16.meta deleted file mode 100644 index be50195c9..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cce98b60797d296459bd48b0d83ce4b1 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/LICENSE.CEF.txt b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/LICENSE.CEF.txt deleted file mode 100644 index b55d613db..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/LICENSE.CEF.txt +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) 2008-2020 Marshall A. Greenblatt. Portions Copyright (c) -// 2006-2009 Google Inc. All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the name Chromium Embedded -// Framework nor the names of its contributors may be used to endorse -// or promote products derived from this software without specific prior -// written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/LICENSE.UWB.txt b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/LICENSE.UWB.txt deleted file mode 100644 index 39e241fea..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/LICENSE.UWB.txt +++ /dev/null @@ -1,26 +0,0 @@ -================================================================================ -UnityWebBrowser (UWB) -https://github.com/Voltstro-Studios/UnityWebBrowser -================================================================================ - - MIT License - - Copyright (c) 2021-2024 Voltstro-Studios - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/README.CEF.txt b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/README.CEF.txt deleted file mode 100644 index c7b993b50..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/README.CEF.txt +++ /dev/null @@ -1,144 +0,0 @@ -Chromium Embedded Framework (CEF) Minimal Binary Distribution for Windows -------------------------------------------------------------------------------- - -Date: November 07, 2024 - -CEF Version: 130.1.16+g5a7e5ed+chromium-130.0.6723.117 -CEF URL: https://bitbucket.org/chromiumembedded/cef.git - @5a7e5ed359b954467e22f2a0284cf11700abf7d0 - -Chromium Version: 130.0.6723.117 -Chromium URL: https://chromium.googlesource.com/chromium/src.git - @37382504fe66965a688029d08706ddadca7ceb46 - -This distribution contains the minimal components necessary to build and -distribute an application using CEF on the Windows platform. Please see -the LICENSING section of this document for licensing terms and conditions. - - -CONTENTS --------- - -bazel Contains Bazel configuration files shared by all targets. - -cmake Contains CMake configuration files shared by all targets. - -include Contains all required CEF header files. - -libcef_dll Contains the source code for the libcef_dll_wrapper static library - that all applications using the CEF C++ API must link against. - -Release Contains libcef.dll, libcef.lib and other components required to - build and run the release version of CEF-based applications. By - default these files should be placed in the same directory as the - executable. - -Resources Contains resources required by libcef.dll. By default these files - should be placed in the same directory as libcef.dll. - - -USAGE ------ - -Building using CMake: - CMake can be used to generate project files in many different formats. See - usage instructions at the top of the CMakeLists.txt file. - -Building using Bazel: - Bazel can be used to build CEF-based applications. CEF support for Bazel is - considered experimental. For current development status see - https://github.com/chromiumembedded/cef/issues/3757. - -Please visit the CEF Website for additional usage information. - -https://bitbucket.org/chromiumembedded/cef/ - - -REDISTRIBUTION --------------- - -This binary distribution contains the below components. - -Required components: - -The following components are required. CEF will not function without them. - -* CEF core library. - * libcef.dll - -* Crash reporting library. - * chrome_elf.dll - -* Unicode support data. - * icudtl.dat - -* V8 snapshot data. - * snapshot_blob.bin - * v8_context_snapshot.bin - -Optional components: - -The following components are optional. If they are missing CEF will continue to -run but any related functionality may become broken or disabled. - -* Localized resources. - Locale file loading can be disabled completely using - CefSettings.pack_loading_disabled. The locales directory path can be - customized using CefSettings.locales_dir_path. - - * locales/ - Directory containing localized resources used by CEF, Chromium and Blink. A - .pak file is loaded from this directory based on the CefSettings.locale - value. Only configured locales need to be distributed. If no locale is - configured the default locale of "en-US" will be used. Without these files - arbitrary Web components may display incorrectly. - -* Other resources. - Pack file loading can be disabled completely using - CefSettings.pack_loading_disabled. The resources directory path can be - customized using CefSettings.resources_dir_path. - - * chrome_100_percent.pak - * chrome_200_percent.pak - * resources.pak - These files contain non-localized resources used by CEF, Chromium and Blink. - Without these files arbitrary Web components may display incorrectly. - -* Direct3D support. - * d3dcompiler_47.dll - Support for GPU accelerated rendering of HTML5 content like 2D canvas, 3D CSS - and WebGL. Without this file the aforementioned capabilities may fail when GPU - acceleration is enabled (default in most cases). Use of this bundled version - is recommended instead of relying on the possibly old and untested system - installed version. - -* DirectX compiler support (x64 only). - * dxil.dll - * dxcompiler.dll - Support for DirectX rendering of WebGPU. Without these files the - aforementioned capabilities may fail. - -* ANGLE support. - * libEGL.dll - * libGLESv2.dll - Support for rendering of HTML5 content like 2D canvas, 3D CSS and WebGL. - Without these files the aforementioned capabilities may fail. - -* SwANGLE support. - * vk_swiftshader.dll - * vk_swiftshader_icd.json - * vulkan-1.dll - Support for software rendering of HTML5 content like 2D canvas, 3D CSS and - WebGL using SwiftShader's Vulkan library as ANGLE's Vulkan backend. Without - these files the aforementioned capabilities may fail when GPU acceleration is - disabled or unavailable. - - -LICENSING ---------- - -The CEF project is BSD licensed. Please read the LICENSE.txt file included with -this binary distribution for licensing terms and conditions. Other software -included in this distribution is provided under other licenses. Please visit -"about:credits" in a CEF-based application for complete Chromium and third-party -licensing information. diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/UnityWebBrowser.Engine.Cef.exe b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/UnityWebBrowser.Engine.Cef.exe deleted file mode 100644 index 51cf573e6..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/UnityWebBrowser.Engine.Cef.exe and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_100_percent.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_100_percent.pak deleted file mode 100644 index 78d1d7130..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_100_percent.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_200_percent.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_200_percent.pak deleted file mode 100644 index 5330b823a..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_200_percent.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_elf.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_elf.dll deleted file mode 100644 index 3b310698b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/chrome_elf.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c19f9ef60091216fd03c1c5b0cc9d39802d99689d03b74c88f42ac00d473ed9 -size 1420288 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/d3dcompiler_47.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/d3dcompiler_47.dll deleted file mode 100644 index 2265a373e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/d3dcompiler_47.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:af7b99be1b8770c0e4d18e43b04e81d11bdeb667fa6b07ade7a88f4c5676bf9a -size 4916728 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/dxcompiler.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/dxcompiler.dll deleted file mode 100644 index 68f167fd6..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/dxcompiler.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c45240fa97ca5c26bf496bc0ddd817df14c7e4a7f1d992e83b19e58e19b66f8 -size 25775104 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/dxil.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/dxil.dll deleted file mode 100644 index 1f67f44c2..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/dxil.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5fe1d8d9caa2ff29daffd53f73a9a4e19c250351b2abe4fc7b57e60ce67ac68 -size 1508360 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/icudtl.dat b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/icudtl.dat deleted file mode 100644 index 331d2f39d..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/icudtl.dat and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libEGL.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libEGL.dll deleted file mode 100644 index e34e4ca78..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libEGL.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d088599b2670f07fe052a8419b87fbaa5d542e8463a51861db09459df620a39e -size 494592 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libGLESv2.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libGLESv2.dll deleted file mode 100644 index f58c090f8..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libGLESv2.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c3942819202f9db111517a54a0ee91d4804b3581c8bc6cdf4c9d73dad8640d6b -size 8270336 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libcef.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libcef.dll deleted file mode 100644 index a3e5be85b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/libcef.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:553999cae02845cac49ea0f1edefa3640d68ffaf07f3f514b1d748132f6edaa1 -size 225490432 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/af.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/af.pak deleted file mode 100644 index dc8107eb4..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/af.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/af.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/af.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/am.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/am.pak deleted file mode 100644 index 8841b7792..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/am.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/am.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/am.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ar.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ar.pak deleted file mode 100644 index 1715acf62..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ar.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ar.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ar.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bg.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bg.pak deleted file mode 100644 index 72cdc23a2..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bg.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bg.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bg.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bn.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bn.pak deleted file mode 100644 index e67ae9ae0..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bn.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bn.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/bn.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ca.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ca.pak deleted file mode 100644 index b8361a3b8..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ca.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ca.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ca.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/cs.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/cs.pak deleted file mode 100644 index 3bbd26a00..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/cs.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/cs.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/cs.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/da.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/da.pak deleted file mode 100644 index 2b3273da6..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/da.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/da.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/da.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/de.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/de.pak deleted file mode 100644 index d29fe5ce5..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/de.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/de.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/de.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/el.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/el.pak deleted file mode 100644 index 484affa85..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/el.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/el.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/el.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-GB.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-GB.pak deleted file mode 100644 index cb3765c61..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-GB.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-GB.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-GB.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-US.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-US.pak deleted file mode 100644 index 98f447e31..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-US.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-US.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/en-US.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es-419.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es-419.pak deleted file mode 100644 index cc9de035b..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es-419.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es-419.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es-419.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es.pak deleted file mode 100644 index a90d3c325..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/es.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/et.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/et.pak deleted file mode 100644 index 17b906ffe..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/et.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/et.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/et.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fa.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fa.pak deleted file mode 100644 index d95c7613f..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fa.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fa.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fa.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fi.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fi.pak deleted file mode 100644 index 348e56c1c..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fi.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fi.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fi.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fil.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fil.pak deleted file mode 100644 index 1d76b8ad4..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fil.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fil.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fil.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fr.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fr.pak deleted file mode 100644 index 957422b01..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fr.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fr.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/fr.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/gu.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/gu.pak deleted file mode 100644 index 4600b80bd..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/gu.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/gu.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/gu.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/he.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/he.pak deleted file mode 100644 index 22d70474f..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/he.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/he.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/he.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hi.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hi.pak deleted file mode 100644 index fa6d97244..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hi.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hi.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hi.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hr.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hr.pak deleted file mode 100644 index 1a41e1239..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hr.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hr.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hr.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hu.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hu.pak deleted file mode 100644 index 3e70d4aa9..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hu.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hu.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/hu.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/id.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/id.pak deleted file mode 100644 index 0e7962396..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/id.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/id.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/id.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/it.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/it.pak deleted file mode 100644 index 4bd8c38a8..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/it.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/it.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/it.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ja.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ja.pak deleted file mode 100644 index c1ee9993b..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ja.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ja.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ja.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/kn.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/kn.pak deleted file mode 100644 index 68e098346..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/kn.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/kn.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/kn.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ko.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ko.pak deleted file mode 100644 index a062b6e7b..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ko.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ko.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ko.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lt.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lt.pak deleted file mode 100644 index 8e5e4ab42..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lt.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lt.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lt.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lv.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lv.pak deleted file mode 100644 index 133e6051e..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lv.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lv.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/lv.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ml.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ml.pak deleted file mode 100644 index cdac77219..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ml.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ml.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ml.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/mr.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/mr.pak deleted file mode 100644 index ebbee4563..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/mr.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/mr.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/mr.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ms.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ms.pak deleted file mode 100644 index c067d5f9a..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ms.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ms.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ms.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nb.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nb.pak deleted file mode 100644 index 7c25f4e27..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nb.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nb.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nb.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nl.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nl.pak deleted file mode 100644 index 83865ca65..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nl.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nl.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/nl.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pl.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pl.pak deleted file mode 100644 index d17db67b7..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pl.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pl.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pl.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-BR.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-BR.pak deleted file mode 100644 index 0202ac347..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-BR.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-BR.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-BR.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-PT.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-PT.pak deleted file mode 100644 index b844b6363..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-PT.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-PT.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/pt-PT.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ro.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ro.pak deleted file mode 100644 index 4fdf9c620..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ro.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ro.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ro.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ru.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ru.pak deleted file mode 100644 index ea44e5844..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ru.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ru.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ru.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sk.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sk.pak deleted file mode 100644 index 64df2aaa9..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sk.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sk.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sk.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sl.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sl.pak deleted file mode 100644 index d748aac18..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sl.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sl.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sl.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sr.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sr.pak deleted file mode 100644 index 7f3cb67c7..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sr.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sr.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sr.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sv.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sv.pak deleted file mode 100644 index 6f308684a..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sv.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sv.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sv.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sw.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sw.pak deleted file mode 100644 index 38550d5af..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sw.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sw.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/sw.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ta.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ta.pak deleted file mode 100644 index 3a0f73eff..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ta.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ta.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ta.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/te.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/te.pak deleted file mode 100644 index 70618582b..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/te.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/te.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/te.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/th.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/th.pak deleted file mode 100644 index 4ac7a70f7..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/th.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/th.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/th.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/tr.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/tr.pak deleted file mode 100644 index 5ee4b0693..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/tr.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/tr.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/tr.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/uk.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/uk.pak deleted file mode 100644 index 48801a043..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/uk.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/uk.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/uk.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ur.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ur.pak deleted file mode 100644 index 9950de5b2..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ur.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ur.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/ur.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/vi.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/vi.pak deleted file mode 100644 index d79ffe0fc..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/vi.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/vi.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/vi.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-CN.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-CN.pak deleted file mode 100644 index cf7969632..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-CN.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-CN.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-CN.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-TW.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-TW.pak deleted file mode 100644 index b050d9d18..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-TW.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-TW.pak.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/locales/zh-TW.pak.meta deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/resources.pak b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/resources.pak deleted file mode 100644 index 493a716ba..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/resources.pak and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/snapshot_blob.bin b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/snapshot_blob.bin deleted file mode 100644 index 2021f99fb..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/snapshot_blob.bin and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/v8_context_snapshot.bin b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/v8_context_snapshot.bin deleted file mode 100644 index 9b01b5240..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/v8_context_snapshot.bin and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vk_swiftshader.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vk_swiftshader.dll deleted file mode 100644 index 63c34ee0d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vk_swiftshader.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e25db814ca25ca77023774240c5444833f33043bc0e4ca45ca405404fd81dd3 -size 5346816 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vk_swiftshader_icd.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vk_swiftshader_icd.json deleted file mode 100644 index 525fbc5a9..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vk_swiftshader_icd.json +++ /dev/null @@ -1 +0,0 @@ -{"file_format_version": "1.0.0", "ICD": {"library_path": ".\\vk_swiftshader.dll", "api_version": "1.0.5"}} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vulkan-1.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vulkan-1.dll deleted file mode 100644 index 25f10a9c4..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~/vulkan-1.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7a639c79bd89762b06e3e504346cec646ee7ed4f5be64140bef548dc8a172dd -size 878080 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/LICENSE.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/LICENSE.md deleted file mode 100644 index 5b7f48cde..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-2024 Voltstro-Studios - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/LICENSE.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/LICENSE.md.meta deleted file mode 100644 index 9c602595f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 81cf9e842cae8974cb1bb2afc18bada5 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/package.json deleted file mode 100644 index cf05d9a6e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "dev.voltstro.unitywebbrowser.engine.cef.win.x64", - "displayName": "Unity Web Browser CEF Engine (Win x64)", - "description": "CEF engine for Unity Web Browser (Win x64).", - "version": "2.2.5-130.1.16", - "unity": "2021.2", - "author": { - "name": "Voltstro", - "email": "me@voltstro.dev", - "url": "https://voltstro.dev" - }, - "repository": { - "type": "git", - "url": "https://github.com/Voltstro-Studios/UnityWebBrowser.git" - }, - "changelogUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/changelog/", - "documentationUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/articles/user/engines/#cef-engine", - "licensesUrl": "https://github.com/Voltstro-Studios/UnityWebBrowser/blob/master/LICENSE.md", - "dependencies": { - "dev.voltstro.unitywebbrowser.engine.cef": "2.2.5-130.1.16" - } -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/package.json.meta deleted file mode 100644 index 637865a1d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 972d5bc7c3825324f8050e8edc6ef631 -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16.meta deleted file mode 100644 index ab498af90..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cbdda631cc57b2b46b722e47f6d49bda -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/LICENSE.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/LICENSE.md deleted file mode 100644 index 5b7f48cde..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-2024 Voltstro-Studios - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/LICENSE.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/LICENSE.md.meta deleted file mode 100644 index 6ec23b2f1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bd42de8fa38c97f4398fb46e9adb932c -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources.meta deleted file mode 100644 index 03ba2f73d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ee1ec9be54677b040a7aabb3707ba88f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/BrowserInput.asset b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/BrowserInput.asset deleted file mode 100644 index dc8361838..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/BrowserInput.asset +++ /dev/null @@ -1,16 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 99b8c6b87c07aef42a4f1cf4636e5b09, type: 3} - m_Name: BrowserInput - m_EditorClassIdentifier: - scrollAxisName: Mouse ScrollWheel - scrollSensitivity: 2 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/BrowserInput.asset.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/BrowserInput.asset.meta deleted file mode 100644 index 92cd47e79..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/BrowserInput.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f42b520053d76984dbe0a740dec665e4 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/Cef Engine Configuration.asset b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/Cef Engine Configuration.asset deleted file mode 100644 index fd2980d99..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/Cef Engine Configuration.asset +++ /dev/null @@ -1,23 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5429d6e223a4ef64bbe0f35ec4c238cb, type: 3} - m_Name: Cef Engine Configuration - m_EditorClassIdentifier: - engineFiles: - - platform: 0 - engineBaseAppLocation: - engineRuntimeLocation: UWB/ - engineEditorLocation: Packages/com.immutable.passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~ - engineFileLocation: - engineAppName: UnityWebBrowser.Engine.Cef - engineFilesNotFoundError: The engine files for this platform were not found! You - may need to install a dedicated platform package. diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/Cef Engine Configuration.asset.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/Cef Engine Configuration.asset.meta deleted file mode 100644 index 9a419534b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/Resources/Cef Engine Configuration.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: aeff70489cd2bec4eb801f16a8c49198 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/package.json deleted file mode 100644 index e2c6cfbb1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "dev.voltstro.unitywebbrowser.engine.cef", - "displayName": "Unity Web Browser CEF Engine", - "description": "CEF engine for Unity Web Browser.", - "version": "2.2.5-130.1.16", - "unity": "2021.3", - "author": { - "name": "Voltstro", - "email": "me@voltstro.dev", - "url": "https://voltstro.dev" - }, - "repository": { - "type": "git", - "url": "https://github.com/Voltstro-Studios/UnityWebBrowser.git" - }, - "hideInEditor": false, - "changelogUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/changelog/", - "documentationUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/articles/user/engines/#cef-engine", - "licensesUrl": "https://github.com/Voltstro-Studios/UnityWebBrowser/blob/master/LICENSE.md", - "dependencies": { - "dev.voltstro.unitywebbrowser": "2.2.5" - } -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/package.json.meta deleted file mode 100644 index 38b97e2f4..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4b2ac86d3d623b842b67b36cdd1e2a4c -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/thirdpartycredits.txt b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/thirdpartycredits.txt deleted file mode 100644 index 636727128..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/thirdpartycredits.txt +++ /dev/null @@ -1,37 +0,0 @@ -CEF Unity Web Browser Engine uses third party code for certain functions. -The required legal notices for using such code and libraries are down below. - -================================================================================ -Chromium Embedded Framework (CEF) -https://bitbucket.org/chromiumembedded/cef -================================================================================ - - // Copyright (c) 2008-2020 Marshall A. Greenblatt. Portions Copyright (c) - // 2006-2009 Google Inc. All rights reserved. - // - // Redistribution and use in source and binary forms, with or without - // modification, are permitted provided that the following conditions are - // met: - // - // * Redistributions of source code must retain the above copyright - // notice, this list of conditions and the following disclaimer. - // * Redistributions in binary form must reproduce the above - // copyright notice, this list of conditions and the following disclaimer - // in the documentation and/or other materials provided with the - // distribution. - // * Neither the name of Google Inc. nor the name Chromium Embedded - // Framework nor the names of its contributors may be used to endorse - // or promote products derived from this software without specific prior - // written permission. - // - // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/thirdpartycredits.txt.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/thirdpartycredits.txt.meta deleted file mode 100644 index 432b811a4..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef@2.2.5-130.1.16/thirdpartycredits.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0da750507879718468087ae6dd0b1921 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5.meta deleted file mode 100644 index 8e6ed1e8d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cef99ac3d37bb43419c909e4c4c8580b -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/LICENSE.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/LICENSE.md deleted file mode 100644 index 5b7f48cde..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-2024 Voltstro-Studios - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/LICENSE.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/LICENSE.md.meta deleted file mode 100644 index ad5d683a1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 55c4860c62d878542881de3fc4dbffa8 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins.meta deleted file mode 100644 index 53a03386f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8a0ce75c5be7f7842976ee8ec28ed86f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll deleted file mode 100644 index eb58d5b18..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9581fd37bbc8a6c17f19ddd72c58bbe15b420e53273280369df22850b95faf2e -size 29184 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta deleted file mode 100644 index cb766dfe7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta +++ /dev/null @@ -1,92 +0,0 @@ -fileFormatVersion: 2 -guid: 68270472e29d1104dacfb9e9cc3a81e4 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 1 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - : Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux64: 0 - Exclude OSXUniversal: 0 - Exclude WebGL: 1 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: None - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: None - - first: - WebGL: WebGL - second: - enabled: 0 - settings: {} - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CPU: AnyCPU - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.xml b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.xml deleted file mode 100644 index 631590473..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.xml +++ /dev/null @@ -1,1749 +0,0 @@ - - - - VoltstroStudios.UnityWebBrowser.Shared - - - - - Layer for communications - - - - - Create a new - - - - - - - Create a new - - - - - - - Shared interface for events that client has - - - - - Tell the client that the URL changed - - - - - - Tell the client that a URL started to load - - - - - - Tell the client that a URL finished - - - - - - Tell the client that the title changed - - - - - - Tell the client about the loading progress changed - - - - - - Tell the client about a change in fullscreen - - - - - - The input's focus has changed - - - - - - Tell the client that we are ready - - - - - Executes a registered method - - - - - - Shared interface for a UWB engine - - Defines what RPC calls the client can call to invoke on the UWB engine - - - - - - Gets the pixels that will be displayed in a texture - - - - - - Shutdown the UWB engine - - - - - Send a keyboard event to the UWB engine - - - - - - Send a mouse move event to the UWB engine - - - - - - Send a mouse click event to the UWB engine - - - - - - Send a mouse scroll event to the UWB engine - - - - - - Gets scroll position - - - - - - Tells the UWB engine to go forward (if it can) - - - - - Tells the UWB engine to go back (if it can) - - - - - Tells the UWB engine to refresh - - - - - Tells the UWB engine to load a url - - - - - - Tells the UWB engine to load some HTML - - - - - - Tells the UWB engine to execute some JS - - - - - - Sets the engine's zoom level - - - - - - Returns the engine's current Zoom level - - - - - - Open chrome dev tools - - - - - Tells the UWB engine to resize - - - - - - Mutes browser audio - - - - - - Platforms for UWB - - - - - Windows 64-bit - - - - - Linux 64-bit - - - - - MacOS 64-bit (Intel) - - - - - MacOS Arm64 - - - - - - - - Creates a new instance - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates a new instance - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Event related to the keyboard - - - - - The keys that were released this frame - - - - - The keys that were pressed down this frame - - - - - The characters that were pressed this frame - - - - - What the mouse click type is - - - - - Left button - - - - - Middle button (scroll-wheel) - - - - - Right button - - - - - What event type was the mouse event - - - - - The button was pressed down - - - - - The button was pressed up - - - - - Event for a mouse click - - - - - The X position the mouse was clicked at - - - - - The Y position the mouse was clicked at - - - - - How many times was the mouse clicked - - - - - What was the - - - - - What was the - - - - - Event related to when the mouse moves - - - - - The X position the moused moved to - - - - - The Y position the mouse moved to - - - - - Event related to when the mouse scrolls - - - - - The X position the moused moved to - - - - - The Y position the moused moved to - - - - - How much did ths mouse move - - - - - We use a custom event for pixels to not use the byte[] array type reader/writer - - - - - The raw pixel data - - - - - An error when something failed while initializing or de-initializing - - - - - Creates a new - - - - - Creates a new - - - - - Creates a new - - - - - Main details on a method that JS wants to execute - - - - - The name of the method - - - - - All arguments of the method - - - - - Holds to be able to build out a type - - - - - All the keys and values a JS object has - - - - - Contains info of an object's key - - - - - Key - - - - - Value of the key - - - - - A value from JS - - - - - What this value is - - - - - Raw object value - See to know what this object is - - - - - What data type a JS value is - - - - - Null/Undefined - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - will be of type - - - - - The log severity of the browser engine - - - - - Debug logging - - - - - Info logging - - - - - Warn logging - - - - - Error logging - - - - - Fatal logging - - - - - Base controls for a popup - - - - - Creates a new - - - - - Creates a new - - - - - Unique related to this popup - - - - - Execute JS in this popup - - - - - - - - - Interface for popup controls from a client - - - - - Closes a popup - - - - - - Executes js - - - - - - - Interface for controls of popup from the engine's POV - - - - - Called when a popup is created - - - - - Called when a popup is destroyed - - - - - - What to do on a popup - - - - - Ignore it - - - - - Open an external window for it - - - - - Redirect the current window to it - - - - - - - - Creates a new instance - - - - - - - - - - - - - - Creates a new instance - - - - - - - - - - - Settings for the proxy - - - - - The username to use for auth with the proxy - - - - - The password to use for auth with the proxy - - - - - Enable or disable the proxy server - - - - - for - - - - - Screen resolution - - - - - Creates a new instance - - - - - - - Width of the screen - - - - - Height of the screen - - - - - - - - - - - Does a different equal to this one? - - - - - - - - - - Specifies key codes and modifiers. - - - - - The bit mask to extract a key code from a key value. - - - - - The bit mask to extract modifiers from a key value. - - - - - No key pressed. - - - - - The left mouse button. - - - - - The right mouse button. - - - - - The CANCEL key. - - - - - The middle mouse button (three-button mouse). - - - - - The first x mouse button (five-button mouse). - - - - - The second x mouse button (five-button mouse). - - - - - The BACKSPACE key. - - - - - The TAB key. - - - - - The CLEAR key. - - - - - The CLEAR key. - - - - - The RETURN key. - - - - - The ENTER key. - - - - - The SHIFT key. - - - - - The CTRL key. - - - - - The ALT key. - - - - - The PAUSE key. - - - - - The CAPS LOCK key. - - - - - The CAPS LOCK key. - - - - - The IME Kana mode key. - - - - - The IME Hanguel mode key. - - - - - The IME Hangul mode key. - - - - - The IME Junja mode key. - - - - - The IME Final mode key. - - - - - The IME Hanja mode key. - - - - - The IME Kanji mode key. - - - - - The ESC key. - - - - - The IME Convert key. - - - - - The IME NonConvert key. - - - - - The IME Accept key. - - - - - The IME Accept key. - - - - - The IME Mode change request. - - - - - The SPACEBAR key. - - - - - The PAGE UP key. - - - - - The PAGE UP key. - - - - - The PAGE DOWN key. - - - - - The PAGE DOWN key. - - - - - The END key. - - - - - The HOME key. - - - - - The LEFT ARROW key. - - - - - The UP ARROW key. - - - - - The RIGHT ARROW key. - - - - - The DOWN ARROW key. - - - - - The SELECT key. - - - - - The PRINT key. - - - - - The EXECUTE key. - - - - - The PRINT SCREEN key. - - - - - The PRINT SCREEN key. - - - - - The INS key. - - - - - The DEL key. - - - - - The HELP key. - - - - - The 0 key. - - - - - The 1 key. - - - - - The 2 key. - - - - - The 3 key. - - - - - The 4 key. - - - - - The 5 key. - - - - - The 6 key. - - - - - The 7 key. - - - - - The 8 key. - - - - - The 9 key. - - - - - The A key. - - - - - The B key. - - - - - The C key. - - - - - The D key. - - - - - The E key. - - - - - The F key. - - - - - The G key. - - - - - The H key. - - - - - The I key. - - - - - The J key. - - - - - The K key. - - - - - The L key. - - - - - The M key. - - - - - The N key. - - - - - The O key. - - - - - The P key. - - - - - The Q key. - - - - - The R key. - - - - - The S key. - - - - - The T key. - - - - - The U key. - - - - - The V key. - - - - - The W key. - - - - - The X key. - - - - - The Y key. - - - - - The Z key. - - - - - The left Windows logo key (Microsoft Natural Keyboard). - - - - - The right Windows logo key (Microsoft Natural Keyboard). - - - - - The Application key (Microsoft Natural Keyboard). - - - - - The Computer Sleep key. - - - - - The 0 key on the numeric keypad. - - - - - The 1 key on the numeric keypad. - - - - - The 2 key on the numeric keypad. - - - - - The 3 key on the numeric keypad. - - - - - The 4 key on the numeric keypad. - - - - - The 5 key on the numeric keypad. - - - - - The 6 key on the numeric keypad. - - - - - The 7 key on the numeric keypad. - - - - - The 8 key on the numeric keypad. - - - - - The 9 key on the numeric keypad. - - - - - The Multiply key. - - - - - The Add key. - - - - - The Separator key. - - - - - The Subtract key. - - - - - The Decimal key. - - - - - The Divide key. - - - - - The F1 key. - - - - - The F2 key. - - - - - The F3 key. - - - - - The F4 key. - - - - - The F5 key. - - - - - The F6 key. - - - - - The F7 key. - - - - - The F8 key. - - - - - The F9 key. - - - - - The F10 key. - - - - - The F11 key. - - - - - The F12 key. - - - - - The F13 key. - - - - - The F14 key. - - - - - The F15 key. - - - - - The F16 key. - - - - - The F17 key. - - - - - The F18 key. - - - - - The F19 key. - - - - - The F20 key. - - - - - The F21 key. - - - - - The F22 key. - - - - - The F23 key. - - - - - The F24 key. - - - - - The NUM LOCK key. - - - - - The SCROLL LOCK key. - - - - - The left SHIFT key. - - - - - The right SHIFT key. - - - - - The left CTRL key. - - - - - The right CTRL key. - - - - - The left ALT key. - - - - - The right ALT key. - - - - - The Browser Back key. - - - - - The Browser Forward key. - - - - - The Browser Refresh key. - - - - - The Browser Stop key. - - - - - The Browser Search key. - - - - - The Browser Favorites key. - - - - - The Browser Home key. - - - - - The Volume Mute key. - - - - - The Volume Down key. - - - - - The Volume Up key. - - - - - The Media Next Track key. - - - - - The Media Previous Track key. - - - - - The Media Stop key. - - - - - The Media Play Pause key. - - - - - The Launch Mail key. - - - - - The Select Media key. - - - - - The Launch Application1 key. - - - - - The Launch Application2 key. - - - - - The Oem Semicolon key. - - - - - The Oem 1 key. - - - - - The Oem plus key. - - - - - The Oem comma key. - - - - - The Oem Minus key. - - - - - The Oem Period key. - - - - - The Oem Question key. - - - - - The Oem 2 key. - - - - - The Oem tilde key. - - - - - The Oem 3 key. - - - - - The Oem Open Brackets key. - - - - - The Oem 4 key. - - - - - The Oem Pipe key. - - - - - The Oem 5 key. - - - - - The Oem Close Brackets key. - - - - - The Oem 6 key. - - - - - The Oem Quotes key. - - - - - The Oem 7 key. - - - - - The Oem8 key. - - - - - The Oem Backslash key. - - - - - The Oem 102 key. - - - - - The PROCESS KEY key. - - - - - The Packet KEY key. - - - - - The ATTN key. - - - - - The CRSEL key. - - - - - The EXSEL key. - - - - - The ERASE EOF key. - - - - - The PLAY key. - - - - - The ZOOM key. - - - - - A constant reserved for future use. - - - - - The PA1 key. - - - - - The CLEAR key. - - - - - The SHIFT modifier key. - - - - - The CTRL modifier key. - - - - - The ALT modifier key. - - - - diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.xml.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.xml.meta deleted file mode 100644 index 10ca963e6..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ef4c61358fdd15c4ea9a0329540653b9 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/README.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/README.md deleted file mode 100644 index 39f7ff8f5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Unity Web Browser - -[![License](https://img.shields.io/github/license/Voltstro-Studios/UnityWebBrowser.svg)](/LICENSE.md) -[![Build Status](https://github.com/Voltstro-Studios/UnityWebBrowser/actions/workflows/main.yml/badge.svg)](https://github.com/Voltstro-Studios/UnityWebBrowser/actions/workflows/main.yml) -[![Docs Status](https://img.shields.io/uptimerobot/status/m794227043-7e2bf837661fcd75d2af6804?label=Docs)](https://projects.voltstro.dev/UnityWebBrowser/latest/) - -Unity Web Browser (UWB) is a Unity package that allows displaying and interacting with the web from within Unity. - -This project is capable of using any desired web engine you want, however for now we only have an engine using [CEF](https://bitbucket.org/chromiumembedded/cef/). - -## Features - -- Easy Installation with UPM -- Multi-Platform Desktop Support (Windows, Linux & MacOS) -- API to interact with the web engine -- JS Interop -- Extendable -- 100% Open-Source - -## Package Installation - -### Prerequisites - -``` -Unity 2021.3.x -``` - -### Install - -1. Setup [VoltUPM](https://github.com/Voltstro/VoltstroUPM#setup) -2. Define the additional scopes `org.nuget` and `com.cysharp.unitask` with VoltUPM -3. Install UnityWebBrowser packages - -For a more in-depth installation guide, check out the [setup article](https://projects.voltstro.dev/UnityWebBrowser/latest/articles/user/setup/). diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/README.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/README.md.meta deleted file mode 100644 index d8943adff..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/README.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d82b65c59791ef343a1af106514d92d0 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime.meta deleted file mode 100644 index 1aabf8fe1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bbd83e6a7a0c9764abd507a11fa0fbce -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/AssemblyInfo.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/AssemblyInfo.cs deleted file mode 100644 index 40ee987f8..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/AssemblyInfo.cs +++ /dev/null @@ -1,47 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Unity Web Browser")] -[assembly: AssemblyDescription("Code for the Unity web browser")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Voltstro-Studios")] -[assembly: AssemblyProduct("Unity Web Browser")] -[assembly: AssemblyCopyright("Copyright (c) 2021-2024 Voltstro-Studios")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.2.5")] -[assembly: AssemblyFileVersion("2.2.5")] - -[assembly: InternalsVisibleTo("VoltstroStudios.UnityWebBrowser.Prj")] -[assembly: InternalsVisibleTo("VoltstroStudios.UnityWebBrowser.Editor")] -[assembly: InternalsVisibleTo("VoltstroStudios.UnityWebBrowser.Tests")] - - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/AssemblyInfo.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/AssemblyInfo.cs.meta deleted file mode 100644 index 2606b4e3f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/AssemblyInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: abc40106b0b1d754083cff6f4a0f5efe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication.meta deleted file mode 100644 index 2ef2ab608..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 49a7c6e590bc45048837b0a4da836749 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/CommunicationLayer.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/CommunicationLayer.cs deleted file mode 100644 index 300a6f891..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/CommunicationLayer.cs +++ /dev/null @@ -1,67 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using JetBrains.Annotations; -using UnityEngine; -using VoltRpc.Communication; - -namespace VoltstroStudios.UnityWebBrowser.Communication -{ - /// - /// Base class that communication layers need to implement. - /// - /// The communication layer is what is responsible for providing what and - /// to use. - /// - /// - public abstract class CommunicationLayer : ScriptableObject - { - /// - /// Timeout time for connection - /// - [Obsolete] - [HideInInspector] - public int connectionTimeout = 7000; - - /// - /// Is this in use? - /// - internal bool IsInUse { get; set; } - - /// - /// Called when the needs to be created - /// - /// - public abstract Client CreateClient(); - - /// - /// Called when the needs to be created - /// - /// - public abstract Host CreateHost(); - - /// - /// Gets all settings needed for the IPC - /// - /// - /// The "location" (whether that be a pipe name or port) that will allow communication from the - /// "outside" (The engine.) - /// - /// - /// The "location" (whether that be a pipe name or port) that will allow the client to - /// communication to the engine. - /// - /// - /// The name of comms layer - /// - public abstract void GetIpcSettings(out object outLocation, out object inLocation, - [CanBeNull] out string layerName); - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/CommunicationLayer.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/CommunicationLayer.cs.meta deleted file mode 100644 index bc6fa27bb..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/CommunicationLayer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 931da7d31dc80ec4db58032c4ec21a5b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/TCPCommunicationLayer.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/TCPCommunicationLayer.cs deleted file mode 100644 index 59cc4344e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/TCPCommunicationLayer.cs +++ /dev/null @@ -1,54 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System.Net; -using UnityEngine; -using VoltRpc.Communication; -using VoltRpc.Communication.TCP; - -namespace VoltstroStudios.UnityWebBrowser.Communication -{ - /// - /// In-Built TCP layer that uses VoltRpc's and - /// - [CreateAssetMenu(fileName = "TCP Communication Layer", menuName = "UWB/TCP Communication Layer")] - public sealed class TCPCommunicationLayer : CommunicationLayer - { - /// - /// The in port to communicate on - /// - [Header("TCP Settings")] [Range(1024, 65353)] [Tooltip("The in port to communicate on")] - public int inPort = 5555; - - /// - /// The out port to communicate on - /// - [Range(1024, 65353)] [Tooltip("The out port to communicate on")] - public int outPort = 5556; - - public override Client CreateClient() - { - IPEndPoint ipEndPoint = new(IPAddress.Loopback, inPort); - return new TCPClient(ipEndPoint, int.MaxValue); - } - - public override Host CreateHost() - { - IPEndPoint ipEndPoint = new(IPAddress.Loopback, outPort); - return new TCPHost(ipEndPoint, int.MaxValue, int.MaxValue); - } - - public override void GetIpcSettings(out object outLocation, out object inLocation, out string layerName) - { - outLocation = outPort; - inLocation = inPort; - layerName = "TCP"; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/TCPCommunicationLayer.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/TCPCommunicationLayer.cs.meta deleted file mode 100644 index 84f4609f1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Communication/TCPCommunicationLayer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ac63c3c4795d3a0438be1dcae9d63952 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core.meta deleted file mode 100644 index 6d7cd309d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 298f473e34580d24cb6dbd8562c41e02 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/BaseUwbClientManager.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/BaseUwbClientManager.cs deleted file mode 100644 index f08b78aa0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/BaseUwbClientManager.cs +++ /dev/null @@ -1,152 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using UnityEngine; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// Base for all other systems that want to build custom rendering with UWB. - /// Provides controls that can be used with Unity events (such as OnClick). - /// For other controls and events, use the . - /// - /// For those who want to implement this base, DO NOT USE Start(), FixedUpdate or OnDestroy, - /// instead override , and . - /// - /// - [DisallowMultipleComponent] - public abstract class BaseUwbClientManager : MonoBehaviour - { - /// - /// The , what handles the communication between the UWB engine and Unity - /// - [Tooltip("The browser client, what handles the communication between the UWB engine and Unity")] - public WebBrowserClient browserClient = new(); - - private void Start() - { - //Start the browser client - browserClient.Init(); - - OnStart(); - } - - private void Update() - { - browserClient.UpdateFps(); - } - - private void FixedUpdate() - { - browserClient.LoadTextureData(); - OnFixedUpdate(); - } - - private void OnDestroy() - { - browserClient.Dispose(); - OnDestroyed(); - } - - /// - /// Override this instead of using - /// - protected virtual void OnStart() - { - } - - /// - /// Override this instead of using - /// - protected virtual void OnFixedUpdate() - { - } - - /// - /// Override this instead of using - /// - protected virtual void OnDestroyed() - { - } - - #region Client Methods - - /// - /// Makes the browser go back a page - /// - /// - public void GoBack() - { - browserClient.GoBack(); - } - - /// - /// Make the browser go forward a page - /// - /// - public void GoForward() - { - browserClient.GoForward(); - } - - /// - /// Makes the browser go to a url - /// - /// - /// - /// - public void NavigateUrl(string url) - { - if (string.IsNullOrWhiteSpace(url)) - throw new ArgumentNullException(nameof(url)); - - browserClient.LoadUrl(url); - } - - /// - /// Refreshes the browser - /// - /// - public void Refresh() - { - browserClient.Refresh(); - } - - /// - /// Loads HTML code - /// - /// - /// - /// - public void LoadHtml(string html) - { - if (string.IsNullOrWhiteSpace(html)) - throw new ArgumentNullException(nameof(html)); - - browserClient.LoadHtml(html); - } - - /// - /// Executes JS - /// - /// - /// - /// - public void ExecuteJs(string js) - { - if (string.IsNullOrWhiteSpace(js)) - throw new ArgumentNullException(nameof(js)); - - browserClient.ExecuteJs(js); - } - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/BaseUwbClientManager.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/BaseUwbClientManager.cs.meta deleted file mode 100644 index 9eed210cd..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/BaseUwbClientManager.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 163d003c860330d4aa7d463db1a4cd9b -timeCreated: 1642230670 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines.meta deleted file mode 100644 index efc0a70fe..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 123d3bf371d34604ebb93c904d497e1d -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Engine.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Engine.cs deleted file mode 100644 index 7cd346934..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Engine.cs +++ /dev/null @@ -1,88 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using UnityEngine; -using UnityEngine.Serialization; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -#nullable enable -namespace VoltstroStudios.UnityWebBrowser.Core.Engines -{ - public abstract class Engine : ScriptableObject - { - public abstract string GetEngineExecutableName(); - - public virtual string GetEngineWorkingPath(Platform platform) - { - return Path.GetFullPath(GetEngineBasePath(platform)); - } - - public virtual string GetEngineAppPath(Platform platform) - { - return Path.GetFullPath(Path.Combine(GetEngineBasePath(platform), GetEngineExecutableName())); - } - - public string GetEngineBasePath(Platform platform) - { - EnginePlatformFiles? engineFiles = EngineFiles.FirstOrDefault(x => x.platform == platform); - if (engineFiles == null) - throw new PlatformNotSupportedException(); - -#if UNITY_EDITOR - return Path.Combine(engineFiles.Value.engineEditorLocation, engineFiles.Value.engineBaseAppLocation); -#else - return Path.Combine(Application.dataPath, engineFiles.Value.engineRuntimeLocation, engineFiles.Value.engineBaseAppLocation); -#endif - - } - - public abstract IEnumerable EngineFiles { get; } - - [Serializable] - public struct EnginePlatformFiles - { - /// - /// this set of files are for - /// - public Platform platform; - - /// - /// Location of the app itself actually lives. - /// Builds on top off of or (in editor mode) - /// - public string engineBaseAppLocation; - - /// - /// Runtime location for the engine files - /// - public string engineRuntimeLocation; - -#if UNITY_EDITOR - - /// - /// Editor location for the engine files - /// - [FormerlySerializedAs("engineFileLocation")] - public string engineEditorLocation; - - [HideInInspector] - [Obsolete("This field is no longer used, it has been renamed to engineEditorLocation to better describe what this field is now used for.")] - public string engineFileLocation; - -#endif - } - - [Obsolete] - public abstract string EngineFilesNotFoundError { get; } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Engine.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Engine.cs.meta deleted file mode 100644 index e70618a1c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Engine.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b01071dbf2785c45a07d11feda2e821 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineConfiguration.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineConfiguration.cs deleted file mode 100644 index 6c7b52a09..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineConfiguration.cs +++ /dev/null @@ -1,53 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections.Generic; -using System.IO; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Shared.Core; -#if UNITY_EDITOR -using VoltstroStudios.UnityWebBrowser.Editor.EngineManagement; -#endif - -namespace VoltstroStudios.UnityWebBrowser.Core.Engines -{ - [CreateAssetMenu(menuName = "UWB/UWB Engine Configuration", fileName = "New UWB Engine Configuration")] - public class EngineConfiguration : Engine - { - /// - /// Array of - /// - public EnginePlatformFiles[] engineFiles; - - /// - /// Main application app name - /// - public string engineAppName; - - public override string GetEngineExecutableName() - { -#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN - return engineAppName + ".exe"; -#else - return engineAppName; -#endif - } - - [Obsolete] - [HideInInspector] - public string engineFilesNotFoundError = - "The engine files for this platform were not found! You may need to install a dedicated platform package."; - - [Obsolete] - public override string EngineFilesNotFoundError => null; - - public override IEnumerable EngineFiles => engineFiles; - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineConfiguration.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineConfiguration.cs.meta deleted file mode 100644 index 0db6b3297..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineConfiguration.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 5429d6e223a4ef64bbe0f35ec4c238cb -timeCreated: 1643032307 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineProcess.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineProcess.cs deleted file mode 100644 index 18d812913..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineProcess.cs +++ /dev/null @@ -1,91 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Diagnostics; -using System.IO; -using VoltstroStudios.UnityWebBrowser.Core.Engines.Process; -using VoltstroStudios.UnityWebBrowser.Helper; -using VoltstroStudios.UnityWebBrowser.Logging; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -namespace VoltstroStudios.UnityWebBrowser.Core.Engines -{ - /// - /// Handler for the engine process - /// - internal sealed class EngineProcess : IDisposable - { - private readonly IProcess processHandle; - private readonly Engine engine; - private readonly IWebBrowserLogger logger; - - /// - /// Creates a new instance - /// - /// - /// - public EngineProcess(Engine engine, IWebBrowserLogger logger) - { -#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN) - processHandle = new WindowProcess(); -#elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX - processHandle = new MacOsProcess(); -#elif UNITY_STANDALONE_LINUX - processHandle = new LinuxProcess(); -#else - throw new PlatformNotSupportedException("Current platform is not supported for UWB engine processes"); -#endif - - this.engine = engine; - this.logger = logger; - } - - /// - /// Has the process exited? - /// - public bool HasExited => processHandle.HasExited; - - /// - /// What was the exit code of the process - /// - public int ExitCode => processHandle.ExitCode; - - /// - /// Starts the engine process - /// - /// - /// - /// - public void StartProcess(string arguments, DataReceivedEventHandler onLogEvent, DataReceivedEventHandler onErrorLogEvent) - { - Platform platform = WebBrowserUtils.GetRunningPlatform(); - string engineFullProcessPath = engine.GetEngineAppPath(platform); - string engineDirectory = engine.GetEngineWorkingPath(platform); - - logger.Debug($"Process Path: '{engineFullProcessPath}'\nWorking: '{engineDirectory}'"); - logger.Debug($"Arguments: '{arguments}'"); - - processHandle.StartProcess(engineFullProcessPath, engineDirectory, arguments, onLogEvent, onErrorLogEvent); - } - - /// - /// Kills the engine process - /// - public void KillProcess() - { - processHandle.KillProcess(); - } - - public void Dispose() - { - processHandle.Dispose(); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineProcess.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineProcess.cs.meta deleted file mode 100644 index 5d3e403b7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/EngineProcess.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 0a7386552e70c8949896965d33a03319 -timeCreated: 1710591696 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process.meta deleted file mode 100644 index af55a5e33..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 43fd2e96488a3de458af382efc5ffe45 -timeCreated: 1710591731 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/IProcess.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/IProcess.cs deleted file mode 100644 index 7e3496e99..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/IProcess.cs +++ /dev/null @@ -1,25 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Diagnostics; - -namespace VoltstroStudios.UnityWebBrowser.Core.Engines.Process -{ - internal interface IProcess : IDisposable - { - public void StartProcess(string executable, string workingDir, string arguments, DataReceivedEventHandler onLogEvent, DataReceivedEventHandler onErrorLogEvent); - - public void KillProcess(); - - public bool HasExited { get; } - - public int ExitCode { get; } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/IProcess.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/IProcess.cs.meta deleted file mode 100644 index 65b42fb83..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/IProcess.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 130da1c7d7a7b6b4d9b753ba0849e208 -timeCreated: 1710591751 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/LinuxProcess.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/LinuxProcess.cs deleted file mode 100644 index 12c04a08d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/LinuxProcess.cs +++ /dev/null @@ -1,125 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#if UNITY_STANDALONE_LINUX - -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using VoltstroStudios.UnityWebBrowser.Logging; - -namespace VoltstroStudios.UnityWebBrowser.Core.Engines.Process -{ - internal sealed class LinuxProcess : IProcess - { - private readonly System.Diagnostics.Process process; - private readonly IWebBrowserLogger logger; - - public LinuxProcess(IWebBrowserLogger logger) - { - process = new System.Diagnostics.Process(); - this.logger = logger; - } - - public bool HasExited => process.HasExited; - public int ExitCode => process.ExitCode; - - public void StartProcess(string executable, string workingDir, string arguments, DataReceivedEventHandler onLogEvent, - DataReceivedEventHandler onErrorLogEvent) - { - ProcessStartInfo startInfo = new(executable, arguments) - { - CreateNoWindow = true, - UseShellExecute = false, - RedirectStandardOutput = true, - RedirectStandardError = true, - WorkingDirectory = workingDir - }; - - process.StartInfo = startInfo; - process.OutputDataReceived += onLogEvent; - process.ErrorDataReceived += onErrorLogEvent; - process.Start(); - process.BeginOutputReadLine(); - process.BeginErrorReadLine(); - } - - public void KillProcess() - { - TimeSpan timeout = TimeSpan.FromSeconds(30); - HashSet children = new(); - GetAllChildIdsUnix(process.Id, children, timeout); - foreach (int childId in children) KillProcessUnix(childId, timeout); - KillProcessUnix(process.Id, timeout); - } - - public void Dispose() - { - process.Dispose(); - } - - private static void GetAllChildIdsUnix(int parentId, ISet children, TimeSpan timeout) - { - int exitCode = RunProcessAndWaitForExit( - "pgrep", - $"-P {parentId}", - timeout, - out string stdout); - - if (exitCode != 0 || string.IsNullOrEmpty(stdout)) return; - using StringReader reader = new(stdout); - while (true) - { - string text = reader.ReadLine(); - if (text == null) return; - - if (!int.TryParse(text, out int id)) continue; - - children.Add(id); - // Recursively get the children - GetAllChildIdsUnix(id, children, timeout); - } - } - - private static void KillProcessUnix(int processId, TimeSpan timeout) - { - RunProcessAndWaitForExit( - "kill", - $"-TERM {processId}", - timeout, - out string _); - } - - private static int RunProcessAndWaitForExit(string fileName, string arguments, TimeSpan timeout, - out string stdout) - { - ProcessStartInfo startInfo = new() - { - FileName = fileName, - Arguments = arguments, - RedirectStandardOutput = true, - UseShellExecute = false, - CreateNoWindow = true - }; - - System.Diagnostics.Process process = System.Diagnostics.Process.Start(startInfo); - - stdout = null; - if (process.WaitForExit((int)timeout.TotalMilliseconds)) - stdout = process.StandardOutput.ReadToEnd(); - else - process.Kill(); - - return process.ExitCode; - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/LinuxProcess.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/LinuxProcess.cs.meta deleted file mode 100644 index 59f2be81c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/LinuxProcess.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 4f592ac816866ae41b07bdebe1ea5c41 -timeCreated: 1710658748 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/MacOsProcess.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/MacOsProcess.cs deleted file mode 100644 index 6345e14b7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/MacOsProcess.cs +++ /dev/null @@ -1,96 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license.See the LICENSE.md file for more details. - -using System.Diagnostics; -using VoltstroStudios.UnityWebBrowser.Helper; - -#if UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX - -namespace VoltstroStudios.UnityWebBrowser.Core.Engines.Process -{ - internal sealed class MacOsProcess : IProcess - { - private readonly System.Diagnostics.Process process; - - public MacOsProcess() - { - process = new System.Diagnostics.Process(); - } - - public void StartProcess(string executable, string workingDir, string arguments, DataReceivedEventHandler onLogEvent, - DataReceivedEventHandler onErrorLogEvent) - { - try - { - ProcessStartInfo startInfo = new(executable, arguments) - { - CreateNoWindow = true, - UseShellExecute = false, - RedirectStandardOutput = true, - RedirectStandardError = true, - WorkingDirectory = workingDir - }; - - process.StartInfo = startInfo; - process.OutputDataReceived += onLogEvent; - process.ErrorDataReceived += onErrorLogEvent; - - UnityEngine.Debug.Log($"[MacOsProcess] 🚀 Starting process: {executable}"); - UnityEngine.Debug.Log($"[MacOsProcess] 📁 Working directory: {workingDir}"); - UnityEngine.Debug.Log($"[MacOsProcess] ⚙️ Arguments: {arguments}"); - - process.Start(); - process.BeginOutputReadLine(); - process.BeginErrorReadLine(); - - UnityEngine.Debug.Log($"[MacOsProcess] ✅ Process started successfully with PID: {process.Id}"); - } - catch (System.Exception ex) - { - UnityEngine.Debug.LogError($"[MacOsProcess] ❌ Failed to start process: {ex.Message}"); - UnityEngine.Debug.LogError($"[MacOsProcess] 📍 Executable: {executable}"); - UnityEngine.Debug.LogError($"[MacOsProcess] 📍 Working Dir: {workingDir}"); - throw; - } - } - - public void KillProcess() - { - try - { - if (process != null && !process.HasExited) - { - process.KillTree(); - } - } - catch (System.Exception ex) - { - UnityEngine.Debug.LogWarning($"[MacOsProcess] ⚠️ Error killing process: {ex.Message}"); - } - } - - public bool HasExited => process?.HasExited ?? true; - public int ExitCode => process?.ExitCode ?? -1; - - public void Dispose() - { - try - { - process?.Dispose(); - } - catch (System.Exception ex) - { - UnityEngine.Debug.LogWarning($"[MacOsProcess] ⚠️ Error disposing process: {ex.Message}"); - } - } - } -} - -#endif - - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/MacOsProcess.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/MacOsProcess.cs.meta deleted file mode 100644 index 32f5dca4b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/MacOsProcess.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: ac428d8e52dad8b4db14e279dca6385e -timeCreated: 1720361400 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/WindowProcess.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/WindowProcess.cs deleted file mode 100644 index 49e91eac8..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/WindowProcess.cs +++ /dev/null @@ -1,169 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.ComponentModel; -using System.Diagnostics; -using System.Runtime.InteropServices; - -namespace VoltstroStudios.UnityWebBrowser.Core.Engines.Process -{ - internal sealed class WindowProcess : IProcess - { - private readonly System.Diagnostics.Process process; - private readonly IntPtr jobHandle; - - public WindowProcess() - { - //Job handle code from SO - //https://stackoverflow.com/questions/3342941/kill-child-process-when-parent-process-is-killed - string jobName = "UWBChildProcesses" + Guid.NewGuid().ToString("N"); - jobHandle = CreateJobObject(IntPtr.Zero, jobName); - - JOBOBJECT_BASIC_LIMIT_INFORMATION info = new() - { - // This is the key flag. When our process is killed, Windows will automatically - // close the job handle, and when that happens, we want the child processes to - // be killed, too. - LimitFlags = JOBOBJECTLIMIT.JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE - }; - - JOBOBJECT_EXTENDED_LIMIT_INFORMATION extendedInfo = new JOBOBJECT_EXTENDED_LIMIT_INFORMATION - { - BasicLimitInformation = info - }; - - int length = Marshal.SizeOf(typeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION)); - IntPtr extendedInfoPtr = Marshal.AllocHGlobal(length); - try - { - Marshal.StructureToPtr(extendedInfo, extendedInfoPtr, false); - - if (!SetInformationJobObject(jobHandle, JobObjectInfoType.ExtendedLimitInformation, - extendedInfoPtr, (uint)length)) - { - throw new Win32Exception(); - } - } - finally - { - Marshal.FreeHGlobal(extendedInfoPtr); - } - - process = new System.Diagnostics.Process(); - } - - public void StartProcess(string executable, string workingDir, string arguments, DataReceivedEventHandler onLogEvent, DataReceivedEventHandler onErrorLogEvent) - { - ProcessStartInfo startInfo = new(executable, arguments) - { - CreateNoWindow = true, - UseShellExecute = false, - RedirectStandardOutput = true, - RedirectStandardError = true, - WorkingDirectory = workingDir - }; - - process.StartInfo = startInfo; - process.OutputDataReceived += onLogEvent; - process.ErrorDataReceived += onErrorLogEvent; - process.Start(); - process.BeginOutputReadLine(); - process.BeginErrorReadLine(); - - //Assign this process to the job handle - bool success = AssignProcessToJobObject(jobHandle, process.Handle); - if (!success && !process.HasExited) - throw new Win32Exception(); - } - - public void KillProcess() - { - TerminateJobObject(jobHandle, 0); - } - - public bool HasExited => process.HasExited; - public int ExitCode => process.ExitCode; - - public void Dispose() - { - process.Dispose(); - } - - #region WIN32 Native - - [DllImport("kernel32.dll", CharSet = CharSet.Unicode)] - private static extern IntPtr CreateJobObject(IntPtr lpJobAttributes, string name); - - [DllImport("kernel32.dll")] - private static extern bool SetInformationJobObject(IntPtr job, JobObjectInfoType infoType, - IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength); - - [DllImport("kernel32.dll", SetLastError = true)] - private static extern bool AssignProcessToJobObject(IntPtr job, IntPtr process); - - [DllImport("kernel32.dll", SetLastError = true)] - private static extern bool TerminateJobObject(IntPtr job, uint exitCode); - - public enum JobObjectInfoType - { - AssociateCompletionPortInformation = 7, - BasicLimitInformation = 2, - BasicUIRestrictions = 4, - EndOfJobTimeInformation = 6, - ExtendedLimitInformation = 9, - SecurityLimitInformation = 5, - GroupInformation = 11 - } - - [StructLayout(LayoutKind.Sequential)] - public struct JOBOBJECT_BASIC_LIMIT_INFORMATION - { - public Int64 PerProcessUserTimeLimit; - public Int64 PerJobUserTimeLimit; - public JOBOBJECTLIMIT LimitFlags; - public UIntPtr MinimumWorkingSetSize; - public UIntPtr MaximumWorkingSetSize; - public UInt32 ActiveProcessLimit; - public Int64 Affinity; - public UInt32 PriorityClass; - public UInt32 SchedulingClass; - } - - [Flags] - public enum JOBOBJECTLIMIT : uint - { - JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = 0x2000 - } - - [StructLayout(LayoutKind.Sequential)] - public struct IO_COUNTERS - { - public UInt64 ReadOperationCount; - public UInt64 WriteOperationCount; - public UInt64 OtherOperationCount; - public UInt64 ReadTransferCount; - public UInt64 WriteTransferCount; - public UInt64 OtherTransferCount; - } - - [StructLayout(LayoutKind.Sequential)] - public struct JOBOBJECT_EXTENDED_LIMIT_INFORMATION - { - public JOBOBJECT_BASIC_LIMIT_INFORMATION BasicLimitInformation; - public IO_COUNTERS IoInfo; - public UIntPtr ProcessMemoryLimit; - public UIntPtr JobMemoryLimit; - public UIntPtr PeakProcessMemoryUsed; - public UIntPtr PeakJobMemoryUsed; - } - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/WindowProcess.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/WindowProcess.cs.meta deleted file mode 100644 index 6714954f1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Engines/Process/WindowProcess.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: e8798000d5556594394fb4cdbc9c0594 -timeCreated: 1710591740 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/FullscreenHandler.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/FullscreenHandler.cs deleted file mode 100644 index a56fece48..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/FullscreenHandler.cs +++ /dev/null @@ -1,67 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using UnityEngine; -using UnityEngine.UI; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// Handles dealing with fullscreen stuff - /// - [Serializable] - public sealed class FullscreenHandler - { - /// - /// What objects to hide when the browser wants to be in fullscreen mode - /// - [Tooltip("What objects to hide when the browser wants to be in fullscreen mode")] - public GameObject[] hideOnFullscreen; - - [NonSerialized] public Graphic graphicComponent; - private Vector2 lastGraphicMax; - private Vector2 lastGraphicMin; - private Vector2 lastGraphicPosition; - - private Vector2 lastGraphicSize; - - public void OnEngineFullscreen(bool fullscreen) - { - RectTransform graphicRectTransform = graphicComponent.rectTransform; - - if (fullscreen) - { - foreach (GameObject obj in hideOnFullscreen) - obj.SetActive(false); - - - lastGraphicSize = graphicRectTransform.sizeDelta; - lastGraphicMax = graphicRectTransform.anchorMax; - lastGraphicMin = graphicRectTransform.anchorMin; - lastGraphicPosition = graphicRectTransform.anchoredPosition; - - graphicRectTransform.anchoredPosition = Vector2.zero; - graphicRectTransform.anchorMin = Vector2.zero; - graphicRectTransform.anchorMax = Vector2.one; - graphicRectTransform.sizeDelta = Vector2.zero; - } - else - { - foreach (GameObject obj in hideOnFullscreen) - obj.SetActive(true); - - graphicRectTransform.anchoredPosition = lastGraphicPosition; - graphicRectTransform.anchorMin = lastGraphicMin; - graphicRectTransform.anchorMax = lastGraphicMax; - graphicRectTransform.sizeDelta = lastGraphicSize; - } - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/FullscreenHandler.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/FullscreenHandler.cs.meta deleted file mode 100644 index 29adcb2b2..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/FullscreenHandler.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: afe3733cafd1863439171e739ad89a8e -timeCreated: 1642231226 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js.meta deleted file mode 100644 index 60dbda0ed..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 581669674fe81c143a243e388272b3c4 -timeCreated: 1706604481 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/InvalidArgumentsException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/InvalidArgumentsException.cs deleted file mode 100644 index 7af9839ba..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/InvalidArgumentsException.cs +++ /dev/null @@ -1,23 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser.Core.Js -{ - /// - /// An related to when arguments have some form of mismatch - /// - public sealed class InvalidArgumentsException : Exception - { - internal InvalidArgumentsException(string message) : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/InvalidArgumentsException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/InvalidArgumentsException.cs.meta deleted file mode 100644 index d31b88c3b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/InvalidArgumentsException.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 6508c8021bc15504e95c512c45255a67 -timeCreated: 1706613448 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/JsMethodManager.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/JsMethodManager.cs deleted file mode 100644 index ea2a43d8b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/JsMethodManager.cs +++ /dev/null @@ -1,321 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#nullable enable -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using UnityEngine; -using UnityEngine.Scripting; -using VoltstroStudios.UnityWebBrowser.Shared.Js; - -namespace VoltstroStudios.UnityWebBrowser.Core.Js -{ - /// - /// The core JS Method Manager. - /// JS methods allow the user agent to invoke .NET methods - /// - [Serializable] - [Preserve] - public sealed class JsMethodManager - { - /// - /// Enables/Disables JS Methods - /// - [Tooltip("Enables/Disables JS Methods")] - public bool jsMethodsEnable; - - private readonly Dictionary typeMatching = new() - { - [typeof(int)] = JsValueType.Int, - [typeof(uint)] = JsValueType.UInt, - [typeof(bool)] = JsValueType.Bool, - [typeof(double)] = JsValueType.Double, - [typeof(string)] = JsValueType.String, - [typeof(DateTime)] = JsValueType.Date - }; - - internal Dictionary JsMethods { get; } = new(); - - /// - /// Registers a method to be able to be invoked by JS - /// - /// Name of the method - /// The of the method - /// Target that the method lives on - /// Thrown if is false - /// Thrown if , or are null or empty - /// Thrown if the name has already been used - /// Thrown if the method returns anything other then void - public void RegisterJsMethod(string name, MethodInfo methodInfo, object target) - { - if (!jsMethodsEnable) - throw new NotEnabledException( - $"The JS Method manager is disabled! You need to enable it using {nameof(jsMethodsEnable)}."); - - if (string.IsNullOrWhiteSpace(name)) - throw new ArgumentNullException(nameof(name)); - - if (methodInfo == null) - throw new ArgumentNullException(nameof(methodInfo)); - - if (target == null) - throw new ArgumentNullException(nameof(target)); - - if (JsMethods.ContainsKey(name)) - throw new ArgumentException($"A method of the name {name} is already registered!", nameof(name)); - - if (methodInfo.ReturnType != typeof(void)) - throw new UnsupportedTypeException("The provided method must return void!"); - - ParameterInfo[] methodParameters = methodInfo.GetParameters(); - - MethodArgument[]? argumentTypes = null; - if (methodParameters.Length > 0) - { - argumentTypes = new MethodArgument[methodParameters.Length]; - for (int i = 0; i < methodParameters.Length; i++) - { - Type type = methodParameters[i].ParameterType; - if (type.IsArray) - throw new UnsupportedTypeException("Parameters cannot be an array type!"); - - KeyValuePair typeMatch = typeMatching.FirstOrDefault(x => x.Key == type); - - JsValueType valueType = typeMatch.Key == null ? JsValueType.Object : typeMatch.Value; - - //Have to "process" the type - CustomTypeInfo? customTypeInfo = null; - if (valueType == JsValueType.Object) - { - customTypeInfo = CreateCustomTypeInfoForType(type); - } - - argumentTypes[i] = new MethodArgument(valueType, customTypeInfo); - } - } - - //method.Method - JsMethods.Add(name, new JsMethodInfo - { - Method = methodInfo, - Arguments = argumentTypes, - Target = target - }); - } - - /// - /// Invoke a JS method - /// - /// - /// - internal void InvokeJsMethod(ExecuteJsMethod executeJsMethod) - { - if (!jsMethodsEnable) - throw new NotEnabledException( - $"The JS Method manager is disabled! You need to enable it using {nameof(jsMethodsEnable)}."); - - //Get registered method first - (string? methodName, JsMethodInfo foundMethodInfo) = JsMethods.FirstOrDefault(x => x.Key == executeJsMethod.MethodName); - if (methodName == null) - throw new MethodNotFoundException($"Browser tried executing the method '{executeJsMethod.MethodName}', which has not been registered!"); - - MethodArgument[]? foundMethodArguments = foundMethodInfo.Arguments; - int foundMethodArgumentsLength = foundMethodArguments?.Length ?? 0; - int passedInMethodArgumentLength = executeJsMethod.Arguments.Length; - - //Make sure arguments count matches first - if (foundMethodArgumentsLength != passedInMethodArgumentLength) - throw new InvalidArgumentsException("Passed in arguments count does not match method's arguments count!"); - - //Handle arguments - object[]? arguments = null; - if (foundMethodArgumentsLength > 0) - { - arguments = new object[foundMethodArgumentsLength]; - for (int i = 0; i < foundMethodArgumentsLength; i++) - { - JsValue executedArgument = executeJsMethod.Arguments[i]; - MethodArgument matchingArgument = foundMethodArguments![i]; - - if(!(matchingArgument.ValueType == JsValueType.Object && executedArgument.Type == JsValueType.Null) - && executedArgument.Type != matchingArgument.ValueType) - throw new InvalidArgumentsException($"Invalid argument type! Was excepting '{matchingArgument.ValueType}', but got type of '{executedArgument.Type}'!"); - - object argumentValue = executedArgument.Value; - if (matchingArgument.TypeInfo != null && executedArgument.Type == JsValueType.Object) - { - CustomTypeInfo customTypeInfo = matchingArgument.TypeInfo.Value; - - JsObjectHolder objectHolder = (JsObjectHolder)executedArgument.Value; - if(objectHolder.Keys.Length != customTypeInfo.TypeProperties.Length) - throw new InvalidArgumentsException($"Passed in argument object keys count does not match what is excepted!"); - - argumentValue = CreateObjectFromObjectHolder(objectHolder, customTypeInfo); - } - - arguments[i] = argumentValue; - } - } - - //Invoke method - foundMethodInfo.Method.Invoke(foundMethodInfo.Target, arguments); - } - - private static object CreateObjectFromObjectHolder(JsObjectHolder objectHolder, CustomTypeInfo customTypeInfo) - { - object argumentValue = Activator.CreateInstance(customTypeInfo.RootType); - foreach (CustomPropertyTypeInfo customPropertyTypeInfo in customTypeInfo.TypeProperties) - { - JsObjectKeyValue? matchedKey = objectHolder.Keys.FirstOrDefault(x => x.Key == customPropertyTypeInfo.PropertyName); - if (matchedKey == null) - throw new InvalidArgumentsException($"Passed in argument object key names does not match what is excepted!"); - - if (matchedKey.Value.Type != customPropertyTypeInfo.ValueType) - throw new InvalidArgumentsException( - "Passed in argument object types does not match what is excepted!"); - - object propertyValue = matchedKey.Value.Value; - if (matchedKey.Value.Type == JsValueType.Object) - { - propertyValue = CreateObjectFromObjectHolder((JsObjectHolder)matchedKey.Value.Value, - customPropertyTypeInfo.TypeInfo!.Value); - } - - customTypeInfo.RootType.GetProperty(customPropertyTypeInfo.PropertyName)!.SetValue(argumentValue, propertyValue); - } - - return argumentValue; - } - - private CustomTypeInfo CreateCustomTypeInfoForType(Type type) - { - //Get all properties - PropertyInfo[] properties = type.GetProperties(); - CustomPropertyTypeInfo[] propertyTypeInfos = new CustomPropertyTypeInfo[properties.Length]; - - for (int i = 0; i < properties.Length; i++) - { - //Find type's matching JsValueType - PropertyInfo property = properties[i]; - Type propertyType = property.PropertyType; - - if (propertyType.IsArray) - throw new UnsupportedTypeException("Parameters cannot be an array type!"); - - KeyValuePair propertyTypeMatch = typeMatching.FirstOrDefault(x => x.Key == propertyType); - JsValueType propertyValueType = propertyTypeMatch.Key == null ? JsValueType.Object : propertyTypeMatch.Value; - - //This is an object type, which we need some more info on - CustomTypeInfo? objectPropertyTypeInfo = null; - if (propertyValueType == JsValueType.Object) - objectPropertyTypeInfo = CreateCustomTypeInfoForType(propertyType); - - propertyTypeInfos[i] = - new CustomPropertyTypeInfo(propertyValueType, property.Name, objectPropertyTypeInfo); - } - - return new CustomTypeInfo(type, propertyTypeInfos); - } - - /// - /// Contains details related to a object's property - /// - internal struct CustomPropertyTypeInfo - { - public CustomPropertyTypeInfo(JsValueType valueType, string propertyName, CustomTypeInfo? typeInfo) - { - ValueType = valueType; - PropertyName = propertyName; - TypeInfo = typeInfo; - } - - /// - /// What this object is - /// - public JsValueType ValueType { get; set; } - - /// - /// The 'Name' of the property - /// - public string PropertyName { get; set; } - - /// - /// If this property is a custom object, then of this property - /// - public CustomTypeInfo? TypeInfo { get; set; } - } - - /// - /// Contains details to a custom object - /// - internal struct CustomTypeInfo - { - public CustomTypeInfo(Type rootType, CustomPropertyTypeInfo[] properties) - { - RootType = rootType; - TypeProperties = properties; - } - - /// - /// The root of this custom - /// - public Type RootType { get; set; } - - /// - /// All properties on this custom type - /// - public CustomPropertyTypeInfo[] TypeProperties { get; set; } - } - - /// - /// Contains info on a method's argument - /// - internal struct MethodArgument - { - public MethodArgument(JsValueType valueType, CustomTypeInfo? typeInfo) - { - ValueType = valueType; - TypeInfo = typeInfo; - } - - /// - /// this argument is - /// - public JsValueType ValueType { get; set; } - - /// - /// If this argument is a custom object, then about it - /// - public CustomTypeInfo? TypeInfo { get; set; } - } - - /// - /// Contains info a method that can be invoked by JS - /// - internal struct JsMethodInfo - { - /// - /// The of the method - /// - public MethodInfo Method { get; set; } - - /// - /// Details on the arguments (if any) - /// - public MethodArgument[]? Arguments { get; set; } - - /// - /// The object - /// - public object Target { get; set; } - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/JsMethodManager.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/JsMethodManager.cs.meta deleted file mode 100644 index 2b820312d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/JsMethodManager.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: f5287f3b607a93345af1c3fca0b917a3 -timeCreated: 1706604494 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/MethodNotFoundException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/MethodNotFoundException.cs deleted file mode 100644 index 4f4af7786..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/MethodNotFoundException.cs +++ /dev/null @@ -1,23 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser.Core.Js -{ - /// - /// An to when a method name cannot be found - /// - public sealed class MethodNotFoundException : Exception - { - internal MethodNotFoundException(string message) : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/MethodNotFoundException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/MethodNotFoundException.cs.meta deleted file mode 100644 index 920e61006..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/MethodNotFoundException.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 3011f319917da5d418ca2a731f9f44b7 -timeCreated: 1706613468 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/NotEnabledException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/NotEnabledException.cs deleted file mode 100644 index 02cc68229..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/NotEnabledException.cs +++ /dev/null @@ -1,23 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser.Core.Js -{ - /// - /// An related to when JS Methods are disabled - /// - public sealed class NotEnabledException : Exception - { - internal NotEnabledException(string message) : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/NotEnabledException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/NotEnabledException.cs.meta deleted file mode 100644 index 1980388dc..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/NotEnabledException.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: c07d03cae22110e41ac3b0ade86bd7d2 -timeCreated: 1707547628 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/UnsupportedTypeException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/UnsupportedTypeException.cs deleted file mode 100644 index cfbee7b1a..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/UnsupportedTypeException.cs +++ /dev/null @@ -1,23 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser.Core.Js -{ - /// - /// An to when a provided is unsupported - /// - public sealed class UnsupportedTypeException : Exception - { - internal UnsupportedTypeException(string message) : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/UnsupportedTypeException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/UnsupportedTypeException.cs.meta deleted file mode 100644 index 2f774daac..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Js/UnsupportedTypeException.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 1887c160ddf90af4fb4cef27c5642c0f -timeCreated: 1707617710 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/PixelsEventTypeReader.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/PixelsEventTypeReader.cs deleted file mode 100644 index cef7ebe8f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/PixelsEventTypeReader.cs +++ /dev/null @@ -1,60 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using Unity.Collections; -using VoltRpc.IO; -using VoltRpc.Types; - -using VoltstroStudios.UnityWebBrowser.Shared.Events; - -#if !UWB_DOCS -using VoltstroStudios.NativeArraySpanExtensions; -#endif - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - internal class PixelsEventTypeReader : TypeReadWriter - { - private NativeArray pixelData; - - public PixelsEventTypeReader(NativeArray textureData) - { - SetPixelDataArray(textureData); - } - - public void SetPixelDataArray(NativeArray array) - { - pixelData = array; - } - - public override void Write(BufferedWriter writer, PixelsEvent value) - { - throw new NotImplementedException(); - } - - public override PixelsEvent Read(BufferedReader reader) - { -#if !UWB_DOCS - //Read the size first - int size = reader.ReadInt(); - if (size <= 0) - return default; - - ReadOnlySpan data = reader.ReadBytesSpanSlice(size); - if (!pixelData.IsCreated || pixelData.Length != size) - return default; - - pixelData.CopyFrom(data); - -#endif - return default; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/PixelsEventTypeReader.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/PixelsEventTypeReader.cs.meta deleted file mode 100644 index c5f801662..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/PixelsEventTypeReader.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 10c8c53c65613634d81337a5082c5aae -timeCreated: 1644578740 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups.meta deleted file mode 100644 index 546c1a157..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: ccbf00bb8acc8884589ec29b83a36093 -timeCreated: 1655890407 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupInfo.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupInfo.cs deleted file mode 100644 index df5d072f8..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupInfo.cs +++ /dev/null @@ -1,71 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Diagnostics; -using VoltstroStudios.UnityWebBrowser.Shared.Popups; - -namespace VoltstroStudios.UnityWebBrowser.Core.Popups -{ - public class WebBrowserPopupInfo : EnginePopupInfo - { - private readonly WebBrowserPopupService popupService; - - internal WebBrowserPopupInfo(Guid guid, WebBrowserPopupService popupService) - : base(guid) - { - IsValid = true; - this.popupService = popupService; - } - - /// - /// Is this still valid? - /// - public bool IsValid { get; private set; } - - /// - /// Called when this is destroyed in anyway - /// - public event Action OnDestroyed; - - /// - public override void ExecuteJs(string js) - { - ThrowIfInvalid(); - - popupService.PopupExecuteJs(PopupGuid, js); - } - - /// - public override void Dispose() - { - ThrowIfInvalid(); - - popupService.PopupClose(PopupGuid); - base.Dispose(); - } - - /// - /// Invalidates this popup without sending a request - /// - internal void DisposeNoSend() - { - IsValid = false; - OnDestroyed?.Invoke(); - } - - [DebuggerStepThrough] - private void ThrowIfInvalid() - { - if (!IsValid) - throw new ObjectDisposedException(nameof(WebBrowserPopupInfo), - "This popup has already been disposed of!"); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupInfo.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupInfo.cs.meta deleted file mode 100644 index 89bf49426..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupInfo.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: b1fa9e12ad47c5a4e921255b20663ff4 -timeCreated: 1655890438 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupService.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupService.cs deleted file mode 100644 index 450970cf0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupService.cs +++ /dev/null @@ -1,72 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections.Generic; -using System.Linq; -using VoltstroStudios.UnityWebBrowser.Events; -using VoltstroStudios.UnityWebBrowser.Logging; -using VoltstroStudios.UnityWebBrowser.Shared.Popups; - -namespace VoltstroStudios.UnityWebBrowser.Core.Popups -{ - internal class WebBrowserPopupService : IPopupEngineControls, IPopupClientControls - { - private readonly PopupClientControls clientControls; - private readonly WebBrowserCommunicationsManager communicationsManager; - private readonly IWebBrowserLogger logger; - private readonly OnPopup onPopupCreated; - - private readonly List popups; - - public WebBrowserPopupService(WebBrowserCommunicationsManager communicationsManager) - { - this.communicationsManager = communicationsManager; - popups = new List(); - clientControls = new PopupClientControls(communicationsManager.ipcClient); - onPopupCreated = communicationsManager.client.InvokeOnPopup; - logger = communicationsManager.logger; - } - - #region Engine - - public void OnPopup(Guid guid) - { - logger.Debug($"Got popup {guid}"); - WebBrowserPopupInfo popupInfo = new(guid, this); - popups.Add(popupInfo); - - onPopupCreated.Invoke(popupInfo); - } - - public void OnPopupDestroy(Guid guid) - { - logger.Debug($"Destroy popup {guid}"); - WebBrowserPopupInfo popupInfo = popups.Single(x => x.PopupGuid == guid); - popupInfo.DisposeNoSend(); - popups.Remove(popupInfo); - } - - #endregion - - #region Client - - public void PopupClose(Guid guid) - { - communicationsManager.ExecuteTask(() => clientControls.PopupClose(guid)); - } - - public void PopupExecuteJs(Guid guid, string js) - { - communicationsManager.ExecuteTask(() => clientControls.PopupExecuteJs(guid, js)); - } - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupService.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupService.cs.meta deleted file mode 100644 index 17a96de07..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/Popups/WebBrowserPopupService.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 45477618c2e98f54dba1c605d6e42313 -timeCreated: 1655890353 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientInputHandler.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientInputHandler.cs deleted file mode 100644 index e3f50467e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientInputHandler.cs +++ /dev/null @@ -1,216 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections; -using UnityEngine; -using UnityEngine.EventSystems; -using VoltstroStudios.UnityWebBrowser.Helper; -using VoltstroStudios.UnityWebBrowser.Input; -using VoltstroStudios.UnityWebBrowser.Shared; -using VoltstroStudios.UnityWebBrowser.Shared.Events; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// Input handler for . - /// - public abstract class RawImageUwbClientInputHandler : RawImageUwbClientManager, - IPointerEnterHandler, - IPointerExitHandler, - IPointerDownHandler, - IPointerUpHandler - { - /// - /// The to use - /// - [Tooltip("The input handler to use")] public WebBrowserInputHandler inputHandler; - - /// - /// Disable usage of mouse - /// - [Tooltip("Disable usage of mouse")] public bool disableMouseInputs; - - /// - /// Disable usage of keyboard - /// - [Tooltip("Disable usage of keyboard")] public bool disableKeyboardInputs; - - private Coroutine keyboardAndMouseHandlerCoroutine; - private Vector2 lastSuccessfulMousePositionSent; - - public void OnPointerDown(PointerEventData eventData) - { - if (disableMouseInputs) - return; - - if (browserClient is { IsConnected: false }) - return; - - MouseClickType clickType = eventData.button switch - { - PointerEventData.InputButton.Left => MouseClickType.Left, - PointerEventData.InputButton.Right => MouseClickType.Right, - PointerEventData.InputButton.Middle => MouseClickType.Middle, - _ => throw new ArgumentOutOfRangeException() - }; - - int clickCount = eventData.clickCount > 0 ? eventData.clickCount : 1; - - if (GetMousePosition(out Vector2 pos)) - browserClient.SendMouseClick(pos, clickCount, clickType, MouseEventType.Down); - } - - public void OnPointerEnter(PointerEventData eventData) - { - if (browserClient is { IsConnected: false }) - return; - - keyboardAndMouseHandlerCoroutine = StartCoroutine(KeyboardAndMouseHandler()); - } - - public void OnPointerExit(PointerEventData eventData) - { - StopKeyboardAndMouseHandler(); - } - - public void OnPointerUp(PointerEventData eventData) - { - if (disableMouseInputs) - return; - - if (browserClient is { IsConnected: false }) - return; - - MouseClickType clickType = eventData.button switch - { - PointerEventData.InputButton.Left => MouseClickType.Left, - PointerEventData.InputButton.Right => MouseClickType.Right, - PointerEventData.InputButton.Middle => MouseClickType.Middle, - _ => throw new ArgumentOutOfRangeException() - }; - - int clickCount = eventData.clickCount > 0 ? eventData.clickCount : 1; - - if (GetMousePosition(out Vector2 pos)) - browserClient.SendMouseClick(pos, clickCount, clickType, MouseEventType.Up); - } - - protected override void OnStart() - { - base.OnStart(); - if (inputHandler == null) - throw new NullReferenceException("The input handler is null! You need to assign it in the editor!"); - - browserClient.OnInputFocus += OnClientInput; - } - - private void OnClientInput(bool focused) - { - if (browserClient is { IsConnected: false }) - return; - - if (focused) - { - if (!GetMousePosition(out Vector2 pos)) return; - pos.x /= 1.5f; - inputHandler.EnableIme(pos); - return; - } - - inputHandler.DisableIme(); - } - - protected override void OnDestroyed() - { - base.OnDestroyed(); - StopKeyboardAndMouseHandler(); - } - - /// - /// Gets the current mouse position on the image - /// - /// - /// Returns true if the mouse is in the image. - public bool GetMousePosition(out Vector2 pos) - { - Vector2 mousePos = inputHandler.GetCursorPos(); - - if (WebBrowserUtils.GetScreenPointToLocalPositionDeltaOnImage(image, mousePos, out pos)) - { - Texture imageTexture = image.texture; - pos.x *= imageTexture.width; - pos.y *= imageTexture.height; - - return true; - } - - return false; - } - - private void StopKeyboardAndMouseHandler() - { - if (keyboardAndMouseHandlerCoroutine != null) - { - StopCoroutine(keyboardAndMouseHandlerCoroutine); - inputHandler.OnStop(); - } - } - - private IEnumerator KeyboardAndMouseHandler() - { - inputHandler.OnStart(); - - while (Application.isPlaying) - { - yield return 0; - - if (!browserClient.ReadySignalReceived || !browserClient.IsConnected - || browserClient.HasDisposed) - continue; - - if (disableMouseInputs && disableKeyboardInputs) - continue; - - if (GetMousePosition(out Vector2 pos)) - { - if (!disableMouseInputs) - { - //Mouse position - if (lastSuccessfulMousePositionSent != pos) - { - browserClient.SendMouseMove(pos); - lastSuccessfulMousePositionSent = pos; - } - - //Mouse scroll - float scroll = inputHandler.GetScroll(); - scroll *= browserClient.BrowserTexture.height; - - if (scroll != 0) - browserClient.SendMouseScroll(pos, (int)scroll); - } - - if (!disableKeyboardInputs) - { - //Input - WindowsKey[] keysDown = inputHandler.GetDownKeys(); - WindowsKey[] keysUp = inputHandler.GetUpKeys(); - string inputBuffer = inputHandler.GetFrameInputBuffer(); - - if (keysDown.Length > 0 || keysUp.Length > 0 || inputBuffer.Length > 0) - browserClient.SendKeyboardControls(keysDown, keysUp, inputBuffer.ToCharArray()); - } - } - } - - inputHandler.OnStop(); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientInputHandler.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientInputHandler.cs.meta deleted file mode 100644 index ad2b816a1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientInputHandler.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 2e4a333d3ea4b9f4088cc963959d9e97 -timeCreated: 1642234435 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientManager.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientManager.cs deleted file mode 100644 index ea0f95483..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientManager.cs +++ /dev/null @@ -1,40 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using UnityEngine; -using UnityEngine.UI; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// Implementation of for rendering to a - /// - [RequireComponent(typeof(RawImage))] - public abstract class RawImageUwbClientManager : BaseUwbClientManager - { - protected RawImage image; - - /// - /// Get the instance - /// - public RawImage Image => image; - - - protected override void OnStart() - { - image = GetComponent(); - if (image == null) - throw new NullReferenceException("Game object does not have a raw image component!"); - - image.texture = browserClient.BrowserTexture; - image.uvRect = new Rect(0f, 0f, 1f, -1f); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientManager.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientManager.cs.meta deleted file mode 100644 index 83abc3940..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/RawImageUwbClientManager.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: f932afdc96093fd4da6e85cce6c87518 -timeCreated: 1642231032 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserArgsBuilder.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserArgsBuilder.cs deleted file mode 100644 index d3697cddf..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserArgsBuilder.cs +++ /dev/null @@ -1,65 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System.Collections.Generic; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// Creates a - /// - internal class WebBrowserArgsBuilder - { - private readonly List arguments; - - internal WebBrowserArgsBuilder() - { - arguments = new List(); - } - - /// - /// Adds an argument - /// - /// - /// - /// - public void AppendArgument(string arg, object parameters = null, bool quotes = false) - { - string builtArg = $"-{arg}"; - if (parameters == null || string.IsNullOrEmpty(parameters.ToString())) - return; - - //We got spaces - if (quotes) - builtArg += $" \"{parameters}\""; - else - builtArg += $" {parameters}"; - - arguments.Add(builtArg); - } - - /// - /// Adds a flag-only argument (without parameters) - /// - /// - public void AppendFlag(string arg) - { - arguments.Add($"-{arg}"); - } - - /// - /// Gets the joined arguments - /// - /// - public override string ToString() - { - return string.Join(" ", arguments); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserArgsBuilder.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserArgsBuilder.cs.meta deleted file mode 100644 index 32b8c4f5e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserArgsBuilder.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b41deac0a57161a4e99c8fb670b848ba -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserClient.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserClient.cs deleted file mode 100644 index f18f47c11..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserClient.cs +++ /dev/null @@ -1,1225 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Diagnostics; -using System.IO; -using System.Runtime.CompilerServices; -using System.Threading; -using System.Threading.Tasks; -using Cysharp.Threading.Tasks; -using Unity.Collections; -using VoltstroStudios.UnityWebBrowser.Shared.Core; -using Unity.Profiling; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Communication; -using VoltstroStudios.UnityWebBrowser.Core.Engines; -using VoltstroStudios.UnityWebBrowser.Core.Js; -using VoltstroStudios.UnityWebBrowser.Core.Popups; -using VoltstroStudios.UnityWebBrowser.Events; -using VoltstroStudios.UnityWebBrowser.Helper; -using VoltstroStudios.UnityWebBrowser.Logging; -using VoltstroStudios.UnityWebBrowser.Shared; -using VoltstroStudios.UnityWebBrowser.Shared.Events; -using VoltstroStudios.UnityWebBrowser.Shared.Js; -using VoltstroStudios.UnityWebBrowser.Shared.Popups; -using Debug = UnityEngine.Debug; -using Object = UnityEngine.Object; -using Resolution = VoltstroStudios.UnityWebBrowser.Shared.Resolution; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// The main object responsible for UWB. - /// - /// This class handles: - /// - /// UWB process setup - /// Texture setup and rendering - /// Wrapper for invoking methods on the UWB process - /// Shutdown - /// - /// If you need to do something with UWB, its probably here. - /// - /// - [Serializable] - public class WebBrowserClient : IDisposable - { - #region Profile Markers - - internal static ProfilerMarker markerGetPixels = new("UWB.GetPixels"); - internal static ProfilerMarker markerGetPixelsRpc = new("UWB.GetPixels.RPC"); - - internal static ProfilerMarker markerLoadTextureApply = new("UWB.LoadTexture.Apply"); - - #endregion - - /// - /// The active browser engine this instance is using - /// - [Header("Browser Settings")] [Tooltip("The active browser engine this instance is using")] - public Engine engine; - - /// - /// The initial URl the browser will start at - /// - [Tooltip("The initial URl the browser will start at")] - public string initialUrl = "https://voltstro.dev"; - - #region Resoltuion - - [SerializeField] private Resolution resolution = new(1920, 1080); - - /// - /// The resolution of the browser. - /// There is a chance that resizing the screen causes UWB to crash Unity, use carefully! - /// Resizing in performance mode is not supported! - /// - public Resolution Resolution - { - get => resolution; - set - { - resolution = value; - Resize(value); - } - } - - #endregion - - /// - /// The background of the webpage - /// - [Tooltip("The background color of the webpage")] - public Color32 backgroundColor = new(255, 255, 255, 255); - - /// - /// Enable or disable JavaScript - /// - [Tooltip("Enable or disable JavaScript")] - public bool javascript = true; - - /// - /// Enable or disable the cache - /// - [Tooltip("Enable or disable the cache")] - [Obsolete("Cache control is no longer used. A cache path will always be used now. To use a incognito/private mode, where no profile-specific data is persisted to disk, set incognitoMode to true.")] - [HideInInspector] - public bool cache = true; - - /// - /// Enable or disable incognito/private mode. - /// When true, no profile-specific data is persisted to disk, but cache is sill used to persist installation-specific data. - /// - [Tooltip("Enable or disable incognito/private mode. When true, no profile-specific data is persisted to disk, but cache is still used to persist installation-specific data.")] - public bool incognitoMode; - - /// - /// Enable or disable local storage - /// - [Tooltip("Enable or disable local storage")] - public bool localStorage = true; - - /// - /// How to handle popups - /// - [Tooltip("How to handle popups")] public PopupAction popupAction; - - /// - /// Proxy Settings - /// - [Tooltip("Proxy settings")] public ProxySettings proxySettings; - - /// - /// Enable or disable WebRTC - /// - [Header("Advanced")] - [Tooltip("Enable or disable WebRTC")] public bool webRtc; - - /// - /// Enable or disable remote debugging - /// - [Tooltip("Enable or disable remote debugging")] - public bool remoteDebugging; - - /// - /// The port to use for remote debugging - /// - [Tooltip("The port to use for remote debugging")] [Range(1024, 65353)] - public uint remoteDebuggingPort = 9022; - - /// - /// Origins that are allowed to access remote debugging when is enabled - /// - [Tooltip("Origins that are allowed to access remote debugging when remoteDeubgging is enabled")] - public string[] remoteDebuggingAllowedOrigins = new[] { "http://127.0.0.1:9022" }; - - /// - /// Manager for JS methods - /// - [Tooltip("Manager for JS methods")] - public JsMethodManager jsMethodManager = new(); - - /// - /// Will ignore SSL errors on provided domains in - /// - [Tooltip("Will ignore SSL errors on provided domains in ignoreSSLErrorsDomains")] - public bool ignoreSslErrors = false; - - /// - /// Domains to ignore SSL errors on if is enabled - /// - [Tooltip("Domains to ignore SSL errors on if ignoreSSLErrors is enabled")] - public string[] ignoreSslErrorsDomains; - - /// - /// Disables sandbox - /// - [Tooltip("Disables sandbox")] - public bool noSandbox = false; - - /// - /// Make browser not interactable - /// - /// [Tooltip("Make browser not interactable")] - public bool headless = false; - - /// - /// The to use - /// - [Header("IPC Settings")] [Tooltip("The communication layer to use")] - public CommunicationLayer communicationLayer; - - /// - /// Timeout time for waiting for the engine to start (in milliseconds) - /// - [Tooltip("Timeout time for waiting for the engine to start (in milliseconds)")] - public int engineStartupTimeout = 4000; - - /// - /// The log severity. Only messages of this severity level or higher will be logged - /// - [Tooltip("The log severity. Only messages of this severity level or higher will be logged")] - public LogSeverity logSeverity = LogSeverity.Info; - - /// - /// Texture that the browser will paint to - /// - public Texture2D BrowserTexture { get; private set; } - - /// - /// Are we connected to the UW engine process - /// - public bool IsConnected => communicationsManager is { IsConnected: true }; - - /// - /// The UWB engine has signaled that it is ready - /// - public bool ReadySignalReceived { get; internal set; } - - /// - /// Has UWB initialized - /// - public bool HasInitialized { get; internal set; } - - /// - /// Internal FPS of pixels communication between Unity and the Engine - /// - public int FPS { get; private set; } - - #region Log Path - - private FileInfo logPath; - - /// - /// The path that UWB engine will log to - /// - /// Thrown if value is attempted to be changed once UWB has already initialized - /// Thrown is value provide is null - public FileInfo LogPath - { - get => logPath; - set - { - if (HasInitialized) - throw new UwbHasInitializedException("You cannot change the log path once UWB has initialized!"); - - logPath = value ?? throw new ArgumentNullException(nameof(value)); - } - } - - #endregion - - #region Cache Path - - private FileInfo cachePath; - - /// - /// The path to the cache - /// - /// Thrown if value is attempted to be changed once UWB has already initialized - /// Thrown is value provide is null - public FileInfo CachePath - { - get => cachePath; - set - { - if (HasInitialized) - throw new UwbHasInitializedException("You cannot change the cache path once UWB has initialized!"); - - cachePath = value ?? throw new ArgumentNullException(nameof(value)); - } - } - - #endregion - - #region Logger - - public ProcessLogHandler processLogHandler; - - /// - /// Internal usage of - /// - internal IWebBrowserLogger logger = new DefaultUnityWebBrowserLogger(); - - /// - /// Gets the to use for logging - /// - /// - public IWebBrowserLogger Logger - { - get => logger; - set => logger = value ?? throw new ArgumentNullException(nameof(value)); - } - - #endregion - - private EngineProcess engineProcess; - private WebBrowserCommunicationsManager communicationsManager; - private CancellationTokenSource cancellationSource; - - private object resizeLock; - private NativeArray textureData; - internal NativeArray nextTextureData; - - internal WebBrowserClient() - { - } - - /// - /// Inits the browser client - /// - /// - internal void Init() - { - if (!WebBrowserUtils.IsRunningOnSupportedPlatform()) - { - logger.Warn("UWB is not supported on the current runtime platform! Not running."); - Dispose(); - return; - } - - //Get the path to the UWB process we are using and make sure it exists - Platform detectedPlatform = WebBrowserUtils.GetRunningPlatform(); - string browserEnginePath = engine.GetEngineAppPath(detectedPlatform); - logger.Debug($"Starting browser engine process from '{browserEnginePath}'..."); - - - - if (!File.Exists(browserEnginePath)) - { - logger.Error("The engine process could not be found!"); - throw new FileNotFoundException("The engine process could not be found!"); - } - - //Check communication layer - if (communicationLayer.IsInUse) - throw new InitializationException("The communication layer is already in use!"); - communicationLayer.IsInUse = true; - - //Setup texture - BrowserTexture = new Texture2D((int)resolution.Width, (int)resolution.Height, TextureFormat.BGRA32, false, - false); - WebBrowserUtils.SetAllTextureColorToOne(BrowserTexture, backgroundColor); - - resizeLock = new object(); - textureData = BrowserTexture.GetRawTextureData(); - nextTextureData = new NativeArray(textureData.ToArray(), Allocator.Persistent); - - string browserEngineMainDir = WebBrowserUtils.GetAdditionFilesDirectory(); - - //Start to build our arguments - WebBrowserArgsBuilder argsBuilder = new(); - - //Initial URL - argsBuilder.AppendArgument("initial-url", initialUrl, true); - - //Width & Height - argsBuilder.AppendArgument("width", resolution.Width); - argsBuilder.AppendArgument("height", resolution.Height); - - //Javascript - argsBuilder.AppendArgument("javascript", javascript); - - //Background color - argsBuilder.AppendArgument("background-color", WebBrowserUtils.ColorToHex(backgroundColor)); - - //Logging - LogPath ??= new FileInfo(Path.Combine(browserEngineMainDir, $"{Path.GetFileNameWithoutExtension(engine.GetEngineExecutableName())}.log")); - argsBuilder.AppendArgument("log-path", LogPath.FullName, true); - argsBuilder.AppendArgument("log-severity", logSeverity); - - //IPC settings - communicationLayer.GetIpcSettings(out object outLocation, out object inLocation, - out string assemblyLocation); - if (assemblyLocation != null) - { - argsBuilder.AppendArgument("comms-layer-name", assemblyLocation, true); - logger.Debug($"Using communication layer of '{assemblyLocation}'."); - } - - argsBuilder.AppendArgument("in-location", inLocation, true); - argsBuilder.AppendArgument("out-location", outLocation, true); - - //Set cache path - cachePath ??= new FileInfo(Path.Combine(browserEngineMainDir, "UWBCache")); - argsBuilder.AppendArgument("cache-path", cachePath.FullName, true); - - argsBuilder.AppendArgument("incognito-mode", incognitoMode); - - //Popups - argsBuilder.AppendArgument("popup-action", popupAction, true); - - //Setup web RTC - if (webRtc) - argsBuilder.AppendArgument("web-rtc", webRtc); - - argsBuilder.AppendArgument("local-storage", localStorage); - - //Setup remote debugging - if (remoteDebugging) - { - argsBuilder.AppendArgument("remote-debugging", remoteDebuggingPort); - argsBuilder.AppendArgument("remote-debugging-allowed-origins", string.Join(",", remoteDebuggingAllowedOrigins)); - } - - //Setup proxy - if (proxySettings.ProxyServer) - { - argsBuilder.AppendArgument("proxy-server", true); - if (!string.IsNullOrWhiteSpace(proxySettings.Username)) - argsBuilder.AppendArgument("proxy-username", proxySettings.Username, true); - - if (!string.IsNullOrWhiteSpace(proxySettings.Password)) - argsBuilder.AppendArgument("proxy-password", proxySettings.Password, true); - } - - //Ignore ssl errors - if (ignoreSslErrors) - { - argsBuilder.AppendArgument("ignore-ssl-errors", true); - argsBuilder.AppendArgument("ignore-ssl-errors-domains", string.Join(",", ignoreSslErrorsDomains)); - } - - //Make sure not to include this, its for testing -#if UWB_ENGINE_PRJ //Define for backup, cause I am dumb as fuck and gonna accidentally include this in a release build one day - //argsBuilder.AppendArgument("start-delay", 2000); -#endif - - //Disable sandbox - if (noSandbox) - { - argsBuilder.AppendArgument("no-sandbox", true); - } - - //Single-process mode for macOS stability -#if UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX - // Use single-process mode to prevent separate GPU process crashes on macOS - argsBuilder.AppendFlag("single-process"); - // Note: Testing without disable-web-security to minimize security impact -#endif - - //Final built arguments - string arguments = argsBuilder.ToString(); - - //Setup communication manager - cancellationSource = new CancellationTokenSource(); - communicationsManager = new WebBrowserCommunicationsManager(this, cancellationSource); - communicationsManager.Listen(); - -#if UNITY_EDITOR - //Install reload events handler - UnityEditor.AssemblyReloadEvents.beforeAssemblyReload += OnBeforeAssemblyReload; -#endif - - //Mark has initialized and invoke event - HasInitialized = true; - try - { - OnClientInitialized?.Invoke(); - } - catch (Exception ex) - { - logger.Error($"Error invoking OnClientInitialized! {ex}"); - } - - //Start the engine process - UniTask.Create(() => - StartEngineProcess(arguments)) - .ContinueWith(() => WaitForEngineReadyTask(cancellationSource.Token)) - .Forget(); - } - - #region Starting - - private UniTask StartEngineProcess(string engineProcessArguments) - { - try - { - //TODO: Move process log handler to engine process class - processLogHandler = new ProcessLogHandler(this); - engineProcess = new EngineProcess(engine, logger); - engineProcess.StartProcess(engineProcessArguments, processLogHandler.HandleOutputProcessLog, processLogHandler.HandleErrorProcessLog); - } - catch (Exception ex) - { - logger.Error($"An error occured while setting up the engine process! {ex}"); - throw; - } - - return UniTask.CompletedTask; - } - - /// - /// Will wait for to be true - /// - internal async UniTask WaitForEngineReadyTask(CancellationToken cancellationToken) - { - try - { - //Wait until we get a ready signal, or timeout - await UniTask.WaitUntil(() => - ReadySignalReceived, cancellationToken: cancellationToken) - .Timeout(TimeSpan.FromMilliseconds(engineStartupTimeout)); - } - catch (TimeoutException) - { - logger.Error(engineProcess.HasExited - ? $"The engine did not get ready within engine startup timeout! The engine process is not even running! Exit code: {engineProcess.ExitCode}." - : "The engine did not get ready within engine startup timeout! Try increasing your 'Engine Startup Timeout' time. If you continue to have this error, see issue report #166 on GitHub."); - await using (UniTask.ReturnToMainThread()) - { - Dispose(); - } - } - catch (OperationCanceledException) - { - //Token probs got canceled - } - catch (Exception ex) - { - logger.Error($"An unknown error occured while waiting for engine to get ready! {ex}"); - await using (UniTask.ReturnToMainThread()) - { - Dispose(); - } - } - } - - /// - /// Called when the engine sends the ready signal - /// - internal async UniTaskVoid EngineReady() - { - ReadySignalReceived = true; - - try - { - logger.Debug("UWB startup success, connecting..."); - communicationsManager.Connect(); - - //Fire OnClientConnected on main thread - await using (UniTask.ReturnToMainThread()) - { - try - { - OnClientConnected?.Invoke(); - } - catch (Exception ex) - { - //This shouldn't ever happen - logger.Warn($"An error occured invoking OnClientConnected! {ex}"); - } - } - - if (!headless) - { - Thread pixelDataLoopThread = new(PixelDataLoop) - { - Name = "UWB Pixel Data Loop Thread" - }; - pixelDataLoopThread.Start(); - } - } - catch (Exception ex) - { - logger.Error($"An error occured while waiting to connect to the UWB engine process! {ex}"); - await using (UniTask.ReturnToMainThread()) - { - Dispose(); - } - } - } - - #endregion - - #region Main Loop - - internal void PixelDataLoop() - { - CancellationToken token = cancellationSource.Token; - while (!token.IsCancellationRequested) - try - { - if (!IsConnected) - continue; - - if (engineProcess.HasExited) - { - logger.Error("It appears that the engine process has quit!"); - cancellationSource.Cancel(); - return; - } - - Thread.Sleep(5); - - if (token.IsCancellationRequested) - return; - - markerGetPixels.Begin(); - { - lock (resizeLock) - { - markerGetPixelsRpc.Begin(); - { - communicationsManager.GetPixels(); - } - markerGetPixelsRpc.End(); - - textureData.CopyFrom(nextTextureData); - } - } - markerGetPixels.End(); - - frames++; - } - catch (TaskCanceledException) - { - //Do nothing - } - catch (Exception ex) - { - logger.Error($"Error in data loop! {ex}"); - } - } - - /// - /// Loads the pixel data into the - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public void LoadTextureData() - { - if (!IsConnected) - return; - - Texture2D texture = BrowserTexture; - - markerLoadTextureApply.Begin(); - texture.Apply(false); - markerLoadTextureApply.End(); - } - - #region FPS - - private int frames; - private float lastUpdateTime; - - /// - /// Updates FPS values - /// Normal usage shouldn't require invoking this - /// - public void UpdateFps() - { - float currentTime = Time.time; - if (currentTime - lastUpdateTime > 1) - { - lastUpdateTime = currentTime; - FPS = frames; - frames = 0; - } - } - - #endregion - - #endregion - - #region Browser Events - - /// - /// Invoked when this initalizes. - /// - /// Initialized does not mean that the engine is ready, for that, use - /// - public event OnClientInitialized OnClientInitialized; - - /// - /// Invoked when this connects to the engine - /// - public event OnClientConnected OnClientConnected; - - /// - /// Invoked when the url changes - /// - public event OnUrlChangeDelegate OnUrlChanged; - - internal void InvokeUrlChanged(string url) - { - OnUrlChanged?.Invoke(url); - } - - /// - /// Invoked when the page starts to load - /// - public event OnLoadStartDelegate OnLoadStart; - - internal void InvokeLoadStart(string url) - { - OnLoadStart?.Invoke(url); - } - - /// - /// Invoked when the page finishes loading - /// - public event OnLoadFinishDelegate OnLoadFinish; - - internal void InvokeLoadFinish(string url) - { - OnLoadFinish?.Invoke(url); - } - - /// - /// Invoked when the title changes - /// - public event OnTitleChange OnTitleChange; - - internal void InvokeTitleChange(string title) - { - OnTitleChange?.Invoke(title); - } - - /// - /// Invoked when the loading progress changes - /// Progress goes from 0 to 1 - /// - public event OnLoadingProgressChange OnLoadProgressChange; - - internal void InvokeLoadProgressChange(double progress) - { - OnLoadProgressChange?.Invoke(progress); - } - - /// - /// Invoked when the browser goes in or out of fullscreen - /// - public event OnFullscreenChange OnFullscreen; - - internal void InvokeFullscreen(bool fullscreen) - { - OnFullscreen?.Invoke(fullscreen); - } - - /// - /// Invoked when the browser gets a popup - /// - public event OnPopup OnPopup; - - internal void InvokeOnPopup(WebBrowserPopupInfo popupInfo) - { - OnPopup?.Invoke(popupInfo); - } - - public event OnInputFocus OnInputFocus; - - internal void InvokeOnInputFocus(bool focused) - { - OnInputFocus?.Invoke(focused); - } - - #endregion - - #region Browser Controls - - /// - /// Sends a keyboard event - /// - /// - /// - /// - public void SendKeyboardControls(WindowsKey[] keysDown, WindowsKey[] keysUp, char[] chars) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.SendKeyboardEvent(new KeyboardEvent - { - KeysDown = keysDown, - KeysUp = keysUp, - Chars = chars - }); - } - - /// - /// Sends a mouse event - /// - /// - public void SendMouseMove(Vector2 mousePos) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.SendMouseMoveEvent(new MouseMoveEvent - { - MouseX = (int)mousePos.x, - MouseY = (int)mousePos.y - }); - } - - /// - /// Sends a mouse click event - /// - /// - /// - /// - /// - public void SendMouseClick(Vector2 mousePos, int clickCount, MouseClickType clickType, - MouseEventType eventType) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.SendMouseClickEvent(new MouseClickEvent - { - MouseX = (int)mousePos.x, - MouseY = (int)mousePos.y, - MouseClickCount = clickCount, - MouseClickType = clickType, - MouseEventType = eventType - }); - } - - /// - /// Sends a mouse scroll event - /// - /// - /// - public void SendMouseScroll(Vector2 mousePos, int mouseScroll) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.SendMouseScrollEvent(new MouseScrollEvent - { - MouseX = (int)mousePos.x, - MouseY = (int)mousePos.y, - MouseScroll = mouseScroll - }); - } - - /// - /// Tells the browser to load a URL - /// - /// - public void LoadUrl(string url) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.LoadUrl(url); - } - - /// - /// Gets the mouse scroll position - /// THIS IS INVOKED ON THE THREAD THAT IS CALLING THIS AND IS BLOCKING - /// - /// Returns the mouse scroll position as a - public Vector2 GetScrollPosition() - { - CheckIfIsReadyAndConnected(); - - //Gotta convert it to a Unity vector2 - System.Numerics.Vector2 position = communicationsManager.GetScrollPosition(); - return new Vector2(position.X, position.Y); - } - - /// - /// Tells the browser to go forward - /// - public void GoForward() - { - CheckIfIsReadyAndConnected(); - - communicationsManager.GoForward(); - } - - /// - /// Tells the browser to go back - /// - public void GoBack() - { - CheckIfIsReadyAndConnected(); - - communicationsManager.GoBack(); - } - - /// - /// Refreshes the browser - /// - public void Refresh() - { - CheckIfIsReadyAndConnected(); - - communicationsManager.Refresh(); - } - - /// - /// Makes the browser load html - /// - /// - public void LoadHtml(string html) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.LoadHtml(html); - } - - /// - /// Executes JS in the browser - /// - /// - public void ExecuteJs(string js) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.ExecuteJs(js); - } - - /// - /// Sets zoom level based off a percentage - /// - /// - /// Thrown if percent is 0 or less - public void SetZoomLevelPercent(double percent) - { - if (percent <= 0) - throw new ArgumentOutOfRangeException(nameof(percent), - "Percent must be larger then 0. To reset, use SetZoomLevel(0)."); - - //Logic from: - //https://magpcss.org/ceforum/viewtopic.php?t=11491 - double scale = 1.2 * percent; - double zoomLevel = Math.Log(scale); - SetZoomLevel(zoomLevel); - } - - /// - /// Set browser's zoom level. Use 0.0 to reset. - /// - /// - public void SetZoomLevel(double zoomLevel) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.SetZoomLevel(zoomLevel); - } - - /// - /// Get's browser's zoom level - /// - /// - public double GetZoomLevel() - { - CheckIfIsReadyAndConnected(); - - return communicationsManager.GetZoomLevel(); - } - - /// - /// Shows dev tools - /// - public void OpenDevTools() - { - CheckIfIsReadyAndConnected(); - - communicationsManager.OpenDevTools(); - } - - /// - /// Resizes the screen. - /// - /// - /// - /// - public void Resize(Resolution newResolution) - { - CheckIfIsReadyAndConnected(); - - lock (resizeLock) - { - BrowserTexture.Reinitialize((int)newResolution.Width, (int)newResolution.Height); - textureData = BrowserTexture.GetRawTextureData(); - communicationsManager.Resize(newResolution); - - nextTextureData.Dispose(); - nextTextureData = new NativeArray(textureData.ToArray(), Allocator.Persistent); - communicationsManager.pixelsEventTypeReader.SetPixelDataArray(nextTextureData); - } - - logger.Debug($"Resized to {newResolution}."); - } - - /// - /// Mutes browser audio - /// - /// - public void AudioMute(bool muted) - { - CheckIfIsReadyAndConnected(); - - communicationsManager.AudioMute(muted); - } - - [DebuggerStepThrough] - private void CheckIfIsReadyAndConnected() - { - if (!ReadySignalReceived) - throw new UwbIsNotReadyException("UWB is not currently ready!"); - - if (!IsConnected) - throw new UwbIsNotConnectedException("UWB is not currently connected!"); - } - - #endregion - - #region JS Methods - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - /// - /// Registers a method with - /// - /// - /// - /// - public void RegisterJsMethod(string name, Action method) - { - if(method == null) - throw new ArgumentNullException(nameof(method)); - - jsMethodManager.RegisterJsMethod(name, method.Method, method.Target); - } - - internal void InvokeJsMethod(ExecuteJsMethod executeJsMethod) - { - jsMethodManager.InvokeJsMethod(executeJsMethod); - } - - #endregion - - #region Destroying - -#if UNITY_EDITOR - private void OnBeforeAssemblyReload() - { - if (HasInitialized && !HasDisposed) - { - logger.Warn("UWB is shutting down due to incoming domain reload. UWB does not support domain reloading while running."); - Dispose(); - } - } -#endif - -#if !UNITY_EDITOR - ~WebBrowserClient() - { - ReleaseResources(); - } -#endif - - /// - /// Has this object been disposed - /// - public bool HasDisposed { get; private set; } - - /// - /// Destroys this instance - /// - public void Dispose() - { - if (HasDisposed) - return; - - ReleaseResources(); - GC.SuppressFinalize(this); - } - - private void ReleaseResources() - { - if (HasDisposed) - return; - - HasDisposed = true; - logger.Debug("UWB shutdown..."); - - cancellationSource?.Cancel(); - - //Destroy textures - if (BrowserTexture != null) - Object.Destroy(BrowserTexture); - - //Engine shutdown - try - { - if (ReadySignalReceived && IsConnected) - communicationsManager.Shutdown(); - } - catch (Exception ex) - { - logger.Error($"Some error occured while shutting down the engine! {ex}"); - } - - //Communication manager destruction - try - { - communicationsManager?.Dispose(); - } - catch (Exception ex) - { - logger.Error($"Some error occured while destroying the communications manager! {ex}"); - } - - //We are no longer using our communication manager - if (communicationLayer != null) - communicationLayer.IsInUse = false; - - //Kill the process if we haven't already - if (engineProcess != null) - { - if (!engineProcess.HasExited) - engineProcess.KillProcess(); - - engineProcess.Dispose(); - engineProcess = null; - } - -#if UNITY_EDITOR - //Install reload events handler - UnityEditor.AssemblyReloadEvents.beforeAssemblyReload -= OnBeforeAssemblyReload; -#endif - - //Dispose of buffers - if (resizeLock == null) - return; - - lock (resizeLock) - { - if (nextTextureData.IsCreated) - nextTextureData.Dispose(); - } - } - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserClient.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserClient.cs.meta deleted file mode 100644 index 97c5640cd..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserClient.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4719e4266bc9c8044a63103bf5b1a190 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserCommunicationsManager.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserCommunicationsManager.cs deleted file mode 100644 index e59297d22..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserCommunicationsManager.cs +++ /dev/null @@ -1,322 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Numerics; -using System.Runtime.CompilerServices; -using System.Threading; -using Cysharp.Threading.Tasks; -using Unity.Profiling; -using UnityEngine.Scripting; -using VoltRpc.Communication; -using VoltstroStudios.UnityWebBrowser.Core.Popups; -using VoltstroStudios.UnityWebBrowser.Logging; -using VoltstroStudios.UnityWebBrowser.Shared; -using VoltstroStudios.UnityWebBrowser.Shared.Core; -using VoltstroStudios.UnityWebBrowser.Shared.Events; -using VoltstroStudios.UnityWebBrowser.Shared.Js; -using VoltstroStudios.UnityWebBrowser.Shared.Popups; -using VoltstroStudios.UnityWebBrowser.Shared.ReadWriters; - -namespace VoltstroStudios.UnityWebBrowser.Core -{ - /// - /// Handles the RPC methods and two-way communication between the UWB engine and Unity - /// - [Preserve] - internal class WebBrowserCommunicationsManager : IEngineControls, IClientControls, IDisposable - { - private static ProfilerMarker sendEventMarker = new("UWB.SendEvent"); - public readonly WebBrowserClient client; - - private readonly IEngineControls engineProxy; - public readonly Client ipcClient; - - private readonly Host ipcHost; - - public readonly IWebBrowserLogger logger; - - public readonly PixelsEventTypeReader pixelsEventTypeReader; - - private readonly object threadLock; - private readonly SynchronizationContext unityThread; - private readonly CancellationTokenSource cancellationTokenSource; - - /// - /// Creates a new instance - /// - /// - /// - public WebBrowserCommunicationsManager(WebBrowserClient browserClient, CancellationTokenSource cancellationTokenSource) - { - threadLock = new object(); - unityThread = SynchronizationContext.Current; - - logger = browserClient.logger; - client = browserClient; - - ipcClient = browserClient.communicationLayer.CreateClient(); - ipcHost = browserClient.communicationLayer.CreateHost(); - - WebBrowserPopupService popupService = new(this); - - ReadWriterUtils.AddBaseTypeReadWriters(ipcHost.TypeReaderWriterManager); - ipcHost.AddService(this); - ipcHost.AddService(popupService); - - ReadWriterUtils.AddBaseTypeReadWriters(ipcClient.TypeReaderWriterManager); - - pixelsEventTypeReader = new PixelsEventTypeReader(browserClient.nextTextureData); - ipcClient.TypeReaderWriterManager.AddType(pixelsEventTypeReader); - - ipcClient.AddService(); - ipcClient.AddService(); - engineProxy = new EngineControls(ipcClient); - this.cancellationTokenSource = cancellationTokenSource; - } - - /// - /// Is our client connected to the UWB engine - /// - public bool IsConnected => ipcClient.IsConnected; - - public void Dispose() - { - lock (threadLock) - { - ipcHost?.Dispose(); - ipcClient?.Dispose(); - } - } - - public PixelsEvent GetPixels() - { - using (sendEventMarker.Auto()) - { - lock (threadLock) - { - return engineProxy.GetPixels(); - } - } - } - - public void Shutdown() - { - lock (threadLock) - { - engineProxy.Shutdown(); - } - } - - public void SendKeyboardEvent(KeyboardEvent keyboardEvent) - { - ExecuteTask(() => engineProxy.SendKeyboardEvent(keyboardEvent)); - } - - public void SendMouseMoveEvent(MouseMoveEvent mouseMoveEvent) - { - ExecuteTask(() => engineProxy.SendMouseMoveEvent(mouseMoveEvent)); - } - - public void SendMouseClickEvent(MouseClickEvent mouseClickEvent) - { - ExecuteTask(() => engineProxy.SendMouseClickEvent(mouseClickEvent)); - } - - public void SendMouseScrollEvent(MouseScrollEvent mouseScrollEvent) - { - ExecuteTask(() => engineProxy.SendMouseScrollEvent(mouseScrollEvent)); - } - - public Vector2 GetScrollPosition() - { - using (sendEventMarker.Auto()) - { - lock (threadLock) - { - return engineProxy.GetScrollPosition(); - } - } - } - - public void GoForward() - { - ExecuteTask(() => engineProxy.GoForward()); - } - - public void GoBack() - { - ExecuteTask(() => engineProxy.GoBack()); - } - - public void Refresh() - { - ExecuteTask(() => engineProxy.Refresh()); - } - - public void LoadUrl(string url) - { - ExecuteTask(() => engineProxy.LoadUrl(url)); - } - - public void LoadHtml(string html) - { - ExecuteTask(() => engineProxy.LoadHtml(html)); - } - - public void ExecuteJs(string js) - { - ExecuteTask(() => engineProxy.ExecuteJs(js)); - } - - public void SetZoomLevel(double zoomLevel) - { - ExecuteTask(() => engineProxy.SetZoomLevel(zoomLevel)); - } - - public double GetZoomLevel() - { - using (sendEventMarker.Auto()) - { - lock (threadLock) - { - return engineProxy.GetZoomLevel(); - } - } - } - - public void OpenDevTools() - { - ExecuteTask(() => engineProxy.OpenDevTools()); - } - - public void Resize(Resolution resolution) - { - ExecuteTask(() => engineProxy.Resize(resolution)); - } - - public void AudioMute(bool muted) - { - ExecuteTask(() => engineProxy.AudioMute(muted)); - } - - public void Connect() - { - ipcClient.Connect(); - } - - public void Listen() - { - UniTask.RunOnThreadPool(async () => - { - try - { - ipcHost.StartListening(); - } - catch (Exception) - { - await using (UniTask.ReturnToMainThread()) - { - if(!cancellationTokenSource.IsCancellationRequested) - throw; - } - } - }, true, cancellationTokenSource.Token); - } - - private void ExecuteOnUnity(Action action, [CallerMemberName] string memberName = "") - { - unityThread.Post(_ => - { - try - { - action.Invoke(); - } - catch (Exception ex) - { - logger.Error($"An error occured in {memberName}! {ex}"); - } - }, null); - } - - internal void ExecuteTask(Action action, [CallerMemberName] string memberName = "") - { - if (!IsConnected) - return; - - UniTask.RunOnThreadPool(() => - { - sendEventMarker.Begin(); - try - { - lock (threadLock) - { - action.Invoke(); - } - } - catch (Exception ex) - { - logger.Error($"An error occured while executing task {memberName}! {ex}"); - } - - sendEventMarker.End(); - return UniTask.CompletedTask; - }); - } - - #region Client Events - - public void UrlChange(string url) - { - ExecuteOnUnity(() => client.InvokeUrlChanged(url)); - } - - public void LoadStart(string url) - { - ExecuteOnUnity(() => client.InvokeLoadStart(url)); - } - - public void LoadFinish(string url) - { - ExecuteOnUnity(() => client.InvokeLoadFinish(url)); - } - - public void TitleChange(string title) - { - ExecuteOnUnity(() => client.InvokeTitleChange(title)); - } - - public void ProgressChange(double progress) - { - ExecuteOnUnity(() => client.InvokeLoadProgressChange(progress)); - } - - public void Fullscreen(bool fullScreen) - { - ExecuteOnUnity(() => client.InvokeFullscreen(fullScreen)); - } - - public void InputFocusChange(bool focused) - { - ExecuteOnUnity(() => client.InvokeOnInputFocus(focused)); - } - - public void Ready() - { - client.EngineReady().Forget(); - } - - public void ExecuteJsMethod(ExecuteJsMethod executeJsMethod) - { - ExecuteOnUnity(() => client.InvokeJsMethod(executeJsMethod)); - } - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserCommunicationsManager.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserCommunicationsManager.cs.meta deleted file mode 100644 index 38553ab05..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Core/WebBrowserCommunicationsManager.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5830dfe77e01c7a4795cd0d56f16de6d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor.meta deleted file mode 100644 index 44c2afc2e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 64641e0ef078c8d45bca0725da157610 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers.meta deleted file mode 100644 index 8b082537e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5a870d66477bbb44eb615ee547e0c7fd -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers/ResolutionDrawer.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers/ResolutionDrawer.cs deleted file mode 100644 index 06b2a0329..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers/ResolutionDrawer.cs +++ /dev/null @@ -1,56 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#if UNITY_EDITOR - -using UnityEditor; -using UnityEngine; -using Resolution = VoltstroStudios.UnityWebBrowser.Shared.Resolution; - -namespace VoltstroStudios.UnityWebBrowser.Editor.Drawers -{ - [CustomPropertyDrawer(typeof(Resolution))] - internal class ResolutionDrawer : PropertyDrawer - { - public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) - { - EditorGUI.BeginProperty(position, label, property); - position = EditorGUI.PrefixLabel(position, GUIUtility.GetControlID(FocusType.Passive), label); - - int indent = EditorGUI.indentLevel; - EditorGUI.indentLevel = 0; - - Rect xFieldSize = new(position.x, position.y, 50, position.height); - Rect xLabelSize = new(position.x + 55, position.y, 25, position.height); - Rect yFieldSize = new(position.x + 70, position.y, 50, position.height); - - SerializedProperty widthProp = property.FindPropertyRelative("Width"); - SerializedProperty heightProp = property.FindPropertyRelative("Height"); - - int widthValue = EditorGUI.IntField(xFieldSize, widthProp.intValue); - if (widthValue < 0) - Debug.LogError("Width cannot be lower then 0!"); - else - widthProp.intValue = widthValue; - - EditorGUI.LabelField(xLabelSize, "x"); - - int heightValue = EditorGUI.IntField(yFieldSize, heightProp.intValue); - if (heightValue < 0) - Debug.LogError("Height cannot be lower then 0!"); - else - heightProp.intValue = heightValue; - - EditorGUI.indentLevel = indent; - EditorGUI.EndProperty(); - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers/ResolutionDrawer.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers/ResolutionDrawer.cs.meta deleted file mode 100644 index 11f208cef..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/Drawers/ResolutionDrawer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d621c240e41db0c45bc32935823c8be5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EditorHelper.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EditorHelper.cs deleted file mode 100644 index 7cabdd92a..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EditorHelper.cs +++ /dev/null @@ -1,61 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections.Generic; -using UnityEditor; -using VoltstroStudios.UnityWebBrowser.Shared.Core; -using Object = UnityEngine.Object; - -#if UNITY_EDITOR - -namespace VoltstroStudios.UnityWebBrowser.Editor -{ - public static class EditorHelper - { - public static List FindAssetsByType() where T : Object - { - List assets = new(); - string[] guids = AssetDatabase.FindAssets($"t:{typeof(T)}"); - for (int i = 0; i < guids.Length; i++) - { - string assetPath = AssetDatabase.GUIDToAssetPath(guids[i]); - T asset = AssetDatabase.LoadAssetAtPath(assetPath); - if (asset != null) assets.Add(asset); - } - - return assets; - } - - public static Platform UnityBuildTargetToPlatform(this BuildTarget buildTarget) - { - switch (buildTarget) - { - case BuildTarget.StandaloneLinux64: - return Platform.Linux64; - case BuildTarget.StandaloneWindows64: - return Platform.Windows64; - case BuildTarget.StandaloneOSX: - //Need to check if target is Arm or x64 - string architecture = EditorUserBuildSettings.GetPlatformSettings("Standalone", "OSXUniversal", "Architecture"); - return architecture switch - { - "ARM64" => Platform.MacOSArm64, - "x64" => Platform.MacOS, - _ => throw new ArgumentOutOfRangeException() - }; - - default: - throw new ArgumentOutOfRangeException(); - } - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EditorHelper.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EditorHelper.cs.meta deleted file mode 100644 index 333dd3157..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EditorHelper.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 44fa72b76e32c3949a344e3bcc16c858 -timeCreated: 1643025402 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement.meta deleted file mode 100644 index 59c6434cd..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 60852180e3d6d8c4182d22d05e364628 -timeCreated: 1642051454 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManager.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManager.cs deleted file mode 100644 index 563c7620d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManager.cs +++ /dev/null @@ -1,65 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#if UNITY_EDITOR - -using System; -using System.IO; -using System.Linq; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Core.Engines; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -namespace VoltstroStudios.UnityWebBrowser.Editor.EngineManagement -{ - public static class EngineManager - { - [Obsolete("Fetching of engine paths is now handled by the Engine class.")] - public static string GetEngineDirectory(Engine engine, Platform platform) - { - Engine.EnginePlatformFiles files = engine.EngineFiles.FirstOrDefault(x => x.platform == platform); - if (files.engineFileLocation == null) - { - Debug.LogError(engine.EngineFilesNotFoundError); - return null; - } - - return Path.GetFullPath(files.engineFileLocation); - } - - [Obsolete("Fetching of engine paths is now handled by the Engine class.")] - public static string GetEngineDirectory(Engine engine) - { - return GetEngineDirectory(engine, GetCurrentEditorPlatform()); - } - - [Obsolete("Fetching of engine paths is now handled by the Engine class.")] - public static string GetEngineProcessFullPath(Engine engine, Platform platform) - { - string appPath = Path.Combine(GetEngineDirectory(engine, platform), engine.GetEngineExecutableName()); - if (platform == Platform.Windows64) - appPath += ".exe"; - - return Path.GetFullPath(appPath); - } - - [Obsolete("Fetching of engine paths is now handled by the Engine class.")] - public static string GetEngineProcessFullPath(Engine engine) - { - return GetEngineProcessFullPath(engine, GetCurrentEditorPlatform()); - } - - public static Platform GetCurrentEditorPlatform() - { - return Platform.Windows64; - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManager.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManager.cs.meta deleted file mode 100644 index bea2d0f58..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManager.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: c55a58ffa731d1643b8ac618e788348e -timeCreated: 1642949053 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManagerPostprocess.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManagerPostprocess.cs deleted file mode 100644 index 25a52e4a5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManagerPostprocess.cs +++ /dev/null @@ -1,129 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#if UNITY_EDITOR && !UWB_DISABLE_POSTPROCESSOR - -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using UnityEditor; -using UnityEditor.Build; -using UnityEditor.Build.Reporting; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Core.Engines; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -namespace VoltstroStudios.UnityWebBrowser.Editor.EngineManagement -{ - internal class EngineManagerPostprocess : IPostprocessBuildWithReport - { - public int callbackOrder => 0; - - public void OnPostprocessBuild(BuildReport report) - { - if (report.summary.result is BuildResult.Failed or BuildResult.Cancelled) - return; - -#if UWB_ENGINE_PRJ //For CI reasons - if(Application.isBatchMode) - return; -#endif - - BuildTarget buildTarget = report.summary.platform; - Platform buildPlatform; - try - { - buildPlatform = buildTarget.UnityBuildTargetToPlatform(); - } - catch (ArgumentOutOfRangeException) - { - Debug.LogWarning("UWB engine will not be copied! Unsupported platform."); - return; - } - - string buildFullOutputPath = report.summary.outputPath; - string buildAppName = Path.GetFileNameWithoutExtension(buildFullOutputPath); - string buildOutputPath = Path.GetDirectoryName(buildFullOutputPath)!; - - List engines = EditorHelper.FindAssetsByType(); - - if (engines.Count == 0) - { - Debug.LogWarning("There were no UWB engines found to copy!"); - return; - } - - string builtAppFolder = Path.GetFullPath(buildTarget == BuildTarget.StandaloneOSX - ? Path.Combine(buildOutputPath, $"{buildAppName}.app", "Contents/Frameworks/") - : buildOutputPath); - - //Make sure the build folder exists - if (!Directory.Exists(builtAppFolder)) - { - Debug.LogError( - "Failed to get the build's folder! Make sure your build is the same name as your product name (In your project settings)."); - return; - } - - //We need to get folder where UWB will live - string buildDataPath = - Path.GetFullPath( - buildTarget == BuildTarget.StandaloneOSX - ? Path.Combine(buildOutputPath, $"{buildAppName}.app", "Contents/Frameworks/") - : Path.Combine(buildOutputPath, $"{buildAppName}_Data/UWB/")); - - //MacOS has a more customized way of deleting - if (buildTarget != BuildTarget.StandaloneOSX) - { - if (Directory.Exists(buildDataPath)) - Directory.Delete(buildDataPath, true); - } - - foreach (Engine engine in engines) - if (engine.EngineFiles.Any(x => x.platform == buildPlatform)) - { - Debug.Log("Copying UWB engine files..."); - - Engine.EnginePlatformFiles engineFiles = - engine.EngineFiles.First(x => x.platform == buildPlatform); - - //Get the location where we are copying all the files - string engineFilesDir = Path.GetFullPath(engineFiles.engineEditorLocation); - if (!Directory.Exists(engineFilesDir)) - { - Debug.LogError("The engine files directory doesn't exist!"); - continue; - } - - //Delete app path first on MacOS (if it exists) - string engineBuildPath = buildDataPath; - if (buildTarget == BuildTarget.StandaloneOSX) - { - engineBuildPath = Path.Combine(buildDataPath, $"{engine.GetEngineExecutableName()}.app"); - if(Directory.Exists(engineBuildPath)) - Directory.Delete(engineBuildPath, true); - - engineFilesDir = Path.Combine(engineFilesDir, $"{engine.GetEngineExecutableName()}.app"); - } - - Debug.Log($"Copying engine files from {engineFilesDir} to {buildDataPath}..."); - EditorUtility.DisplayProgressBar("Copying UWB Engine Files", $"Copying engine files from {engineFilesDir} to {buildDataPath}...", 0); - - FileUtil.CopyFileOrDirectory(engineFilesDir, engineBuildPath); - - EditorUtility.ClearProgressBar(); - } - - Debug.Log("Done!"); - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManagerPostprocess.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManagerPostprocess.cs.meta deleted file mode 100644 index 9c6d0ff9c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Editor/EngineManagement/EngineManagerPostprocess.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a40824957338344ba5b8dc7661f76b3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events.meta deleted file mode 100644 index 1a601114f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1180afdb7f443ba4abb707a235204897 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientConnected.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientConnected.cs deleted file mode 100644 index 6612d3ba7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientConnected.cs +++ /dev/null @@ -1,16 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - /// - /// Delegate for when connects to the engine - /// - public delegate void OnClientConnected(); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientConnected.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientConnected.cs.meta deleted file mode 100644 index 97e4165de..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientConnected.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 72c3e4bdff34fdf499b9c6d42f5df279 -timeCreated: 1708000920 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientInitialized.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientInitialized.cs deleted file mode 100644 index f1720cdd3..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientInitialized.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnClientInitialized(); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientInitialized.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientInitialized.cs.meta deleted file mode 100644 index 400f6a1ad..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnClientInitialized.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: a1e58b269df0ec5479ab613d85409787 -timeCreated: 1706616744 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnFullscreenChange.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnFullscreenChange.cs deleted file mode 100644 index 66d79dbd2..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnFullscreenChange.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnFullscreenChange(bool fullscreen); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnFullscreenChange.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnFullscreenChange.cs.meta deleted file mode 100644 index d952d8aa0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnFullscreenChange.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1e0a0449faf18784497918e85895e62c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnInputFocus.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnInputFocus.cs deleted file mode 100644 index 5fcc8bef6..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnInputFocus.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2023 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnInputFocus(bool focused); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnInputFocus.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnInputFocus.cs.meta deleted file mode 100644 index 0611326c9..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnInputFocus.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 4480d2508ff226e4bac716d7faa59a76 -timeCreated: 1685177305 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadFinish.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadFinish.cs deleted file mode 100644 index 196d4aca5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadFinish.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnLoadFinishDelegate(string url); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadFinish.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadFinish.cs.meta deleted file mode 100644 index 31db8ae9b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadFinish.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ccca0be5dd7ac2045bb6bb63048775f6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadStart.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadStart.cs deleted file mode 100644 index 3adc46dea..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadStart.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnLoadStartDelegate(string url); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadStart.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadStart.cs.meta deleted file mode 100644 index 16be543bc..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadStart.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d36b39a3ee78ba459f54abddb17a1a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadingProgressChange.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadingProgressChange.cs deleted file mode 100644 index eb2c12f6b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadingProgressChange.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnLoadingProgressChange(double progress); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadingProgressChange.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadingProgressChange.cs.meta deleted file mode 100644 index ab059f669..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnLoadingProgressChange.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 77e1179b55f6cee4282ef1c8f40821b8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnPopup.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnPopup.cs deleted file mode 100644 index 1b6e4d080..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnPopup.cs +++ /dev/null @@ -1,15 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using VoltstroStudios.UnityWebBrowser.Core.Popups; - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnPopup(WebBrowserPopupInfo popupInfo); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnPopup.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnPopup.cs.meta deleted file mode 100644 index 2c7761f45..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnPopup.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 2523f7254c2571349ad0b588a6f7dc63 -timeCreated: 1653732534 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnTitleChange.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnTitleChange.cs deleted file mode 100644 index 1158e1ed4..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnTitleChange.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnTitleChange(string title); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnTitleChange.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnTitleChange.cs.meta deleted file mode 100644 index fa8d77c4d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnTitleChange.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 80b9f90b2cb6eed44b786f61e0421df2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnUrlChange.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnUrlChange.cs deleted file mode 100644 index 3f967870f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnUrlChange.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Events -{ - public delegate void OnUrlChangeDelegate(string url); -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnUrlChange.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnUrlChange.cs.meta deleted file mode 100644 index 673d189ba..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Events/OnUrlChange.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7c49453ac004d7547b5ec8aa036f17c5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper.meta deleted file mode 100644 index 9a389a8a7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 300af6584e51d7046bdd47cb852e0224 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/ProcessExtensions.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/ProcessExtensions.cs deleted file mode 100644 index 1451ab13e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/ProcessExtensions.cs +++ /dev/null @@ -1,102 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Runtime.InteropServices; - -namespace VoltstroStudios.UnityWebBrowser.Helper -{ - internal static class ProcessExtensions - { - private static readonly bool IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows); - private static readonly TimeSpan DefaultTimeout = TimeSpan.FromSeconds(30); - - public static void KillTree(this Process process) - { - process.KillTree(DefaultTimeout); - } - - private static void KillTree(this Process process, TimeSpan timeout) - { - if (IsWindows) - { - RunProcessAndWaitForExit( - "taskkill", - $"/T /F /PID {process.Id}", - timeout, - out string _); - } - else - { - HashSet children = new(); - GetAllChildIdsUnix(process.Id, children, timeout); - foreach (int childId in children) KillProcessUnix(childId, timeout); - KillProcessUnix(process.Id, timeout); - } - } - - private static void GetAllChildIdsUnix(int parentId, ISet children, TimeSpan timeout) - { - int exitCode = RunProcessAndWaitForExit( - "pgrep", - $"-P {parentId}", - timeout, - out string stdout); - - if (exitCode != 0 || string.IsNullOrEmpty(stdout)) return; - using StringReader reader = new(stdout); - while (true) - { - string text = reader.ReadLine(); - if (text == null) return; - - if (!int.TryParse(text, out int id)) continue; - - children.Add(id); - // Recursively get the children - GetAllChildIdsUnix(id, children, timeout); - } - } - - private static void KillProcessUnix(int processId, TimeSpan timeout) - { - RunProcessAndWaitForExit( - "kill", - $"-TERM {processId}", - timeout, - out string _); - } - - private static int RunProcessAndWaitForExit(string fileName, string arguments, TimeSpan timeout, - out string stdout) - { - ProcessStartInfo startInfo = new() - { - FileName = fileName, - Arguments = arguments, - RedirectStandardOutput = true, - UseShellExecute = false, - CreateNoWindow = true - }; - - Process process = Process.Start(startInfo); - - stdout = null; - if (process.WaitForExit((int)timeout.TotalMilliseconds)) - stdout = process.StandardOutput.ReadToEnd(); - else - process.Kill(); - - return process.ExitCode; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/ProcessExtensions.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/ProcessExtensions.cs.meta deleted file mode 100644 index 3a5a079e5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/ProcessExtensions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9c2647d3f94e54d45a15a191ecc9a48c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs deleted file mode 100644 index 3d32dfea2..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs +++ /dev/null @@ -1,211 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.IO; -using System.Linq; -using UnityEngine; -using UnityEngine.Scripting; -using UnityEngine.UI; -using VoltstroStudios.UnityWebBrowser.Core.Engines; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -#if UNITY_EDITOR -using VoltstroStudios.UnityWebBrowser.Editor.EngineManagement; -#endif - -namespace VoltstroStudios.UnityWebBrowser.Helper -{ - /// - /// Provides Utils to be used by the web browser - /// - [Preserve] - public static class WebBrowserUtils - { - private static readonly RuntimePlatform[] SupportedPlatforms = { - RuntimePlatform.WindowsPlayer, - RuntimePlatform.WindowsEditor, - RuntimePlatform.LinuxPlayer, - RuntimePlatform.LinuxEditor, - RuntimePlatform.OSXEditor, - RuntimePlatform.OSXPlayer - }; - - /// - /// Gets the main directory where logs and cache may be stored - /// - /// - public static string GetAdditionFilesDirectory() - { -#if UNITY_EDITOR - return Path.GetFullPath(Path.Combine(Directory.GetParent(Application.dataPath)!.FullName, "Library")); -#else - return Application.persistentDataPath; -#endif - } - - /// - /// Gets the folder that the UWB process application lives in - /// - /// - [Obsolete("Fetching of engine paths is now handled by the Engine class.")] - public static string GetBrowserEnginePath(Engine engine) - { - //Editor -#if UNITY_EDITOR - return EngineManager.GetEngineDirectory(engine); - - //Player builds (Standalone) -#elif UNITY_STANDALONE_OSX - return Path.GetFullPath($"{Application.dataPath}/Resources/Data/UWB/"); -#elif UNITY_STANDALONE - return Path.GetFullPath($"{Application.dataPath}/UWB/"); -#else //Unsupported platform, UWB shouldn't run anyway - return null; -#endif - } - - /// - /// Get a direct path to the UWB process application - /// - /// - [Obsolete("Fetching of engine paths is now handled by the Engine class.")] - public static string GetBrowserEngineProcessPath(Engine engine) - { -#if UNITY_EDITOR - return EngineManager.GetEngineProcessFullPath(engine); -#else - string path = $"{GetBrowserEnginePath(null)}/{engine.GetEngineExecutableName()}"; -#if UNITY_STANDALONE_WIN - path += ".exe"; -#endif - return Path.GetFullPath(path); -#endif - } - - /// - /// Gets the local position delta (0 -> 1) from a screen position on a - /// from a top-left origin point - /// - /// To calculate the pixel position, - /// do * [Desired height] and * [Desired Width] - /// - /// - /// that you want to calculate the local position on - /// The screen position - /// The local delta position - /// - /// Thrown if the graphic is null - public static bool GetScreenPointToLocalPositionDeltaOnImage(Graphic graphic, Vector2 screenPosition, - out Vector2 position) - { - //This was a pain in the ass to figure out how to do, I never want anything to do with mouses and UI elements ever again. - - //The main pain was that CEF uses a top left origin point, not center like Unity, but turns out its dog shit - //simple to do and that I am terrible at maths - - //There probs something here that could be done better, if you know, send in a PR - //Based off: http://answers.unity.com/answers/1455168/view.html - - if (graphic.Equals(null)) - throw new ArgumentNullException(nameof(graphic), "Image cannot be null!"); - - Camera camera = graphic.canvas.worldCamera; - - position = new Vector2(); - RectTransform uiImageObjectRectTransform = graphic.rectTransform; - if (!RectTransformUtility.ScreenPointToLocalPointInRectangle(uiImageObjectRectTransform, screenPosition, - camera, - out Vector2 localCursor)) - return false; - - Rect uiImageObjectRect = uiImageObjectRectTransform.rect; - Vector2 ptPivotCancelledLocation = new(localCursor.x - uiImageObjectRect.x, - localCursor.y - uiImageObjectRect.y); - Vector2 ptLocationRelativeToImageInScreenCoordinates = - new(ptPivotCancelledLocation.x, ptPivotCancelledLocation.y); - position.x = ptLocationRelativeToImageInScreenCoordinates.x / uiImageObjectRect.width; - position.y = -(ptLocationRelativeToImageInScreenCoordinates.y / uiImageObjectRect.height) + 1; - - return true; - } - - /// - /// Gets the current running platform - /// - /// - public static Platform GetRunningPlatform() - { -#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN - return Platform.Windows64; -#elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX - // Check if we're on ARM64 or Intel Mac - return System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture == System.Runtime.InteropServices.Architecture.Arm64 - ? Platform.MacOSArm64 - : Platform.MacOS; -#elif UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX - return Platform.Linux64; -#else - // Fallback to runtime detection - switch (Application.platform) - { - case RuntimePlatform.WindowsPlayer: - case RuntimePlatform.WindowsEditor: - return Platform.Windows64; - case RuntimePlatform.OSXPlayer: - case RuntimePlatform.OSXEditor: - return System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture == System.Runtime.InteropServices.Architecture.Arm64 - ? Platform.MacOSArm64 - : Platform.MacOS; - case RuntimePlatform.LinuxPlayer: - case RuntimePlatform.LinuxEditor: - return Platform.Linux64; - default: - throw new PlatformNotSupportedException($"Platform {Application.platform} is not supported by UnityWebBrowser"); - } -#endif - } - - /// - /// Checks if UWB is running on a supported platform - /// - /// - public static bool IsRunningOnSupportedPlatform() - { - return SupportedPlatforms.Any(x => x == UnityEngine.Device.Application.platform); - } - - /// - /// Converts a to hex - /// - /// - internal static string ColorToHex(Color32 color) - { - return ColorUtility.ToHtmlStringRGBA(color); - } - - /// - /// Sets every single pixel in a to one - /// - /// - /// - internal static void SetAllTextureColorToOne(Texture2D texture, Color32 color) - { - if (texture == null) - throw new ArgumentNullException(nameof(texture), "Texture cannot be null!"); - - Color32[] colors = new Color32[texture.width * texture.height]; - for (int i = 0; i < colors.Length; i++) - colors[i] = color; - - texture.SetPixels32(colors); - texture.Apply(); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs.meta deleted file mode 100644 index f90eee2d4..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf1cc87b373953944a83169295b325e2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input.meta deleted file mode 100644 index 4b20872cc..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 05483375903d3e849ac2367d6cd44071 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHandler.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHandler.cs deleted file mode 100644 index 54a5ed402..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHandler.cs +++ /dev/null @@ -1,82 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Input -{ - /// - /// Abstraction layer for getting input - /// - public abstract class WebBrowserInputHandler : ScriptableObject - { - #region Position - - /// - /// Get the scroll - /// - /// - public abstract float GetScroll(); - - /// - /// Get the current cursor position on the screen as a - /// - /// - public abstract Vector2 GetCursorPos(); - - #endregion - - #region Input - - /// - /// Get all keys that are down this frame - /// - /// Returns an array of that are up - public abstract WindowsKey[] GetDownKeys(); - - /// - /// Get all keys that are up this frame - /// - /// Returns an array of that are down - public abstract WindowsKey[] GetUpKeys(); - - /// - /// Gets the input buffer for this frame - /// - /// - public abstract string GetFrameInputBuffer(); - - #endregion - - #region General - - /// - /// Called when inputs are started - /// - public abstract void OnStart(); - - /// - /// Called when inputs are stopped - /// - public abstract void OnStop(); - - /// - /// Called when IME needs to be enabled - /// - public abstract void EnableIme(Vector2 location); - - /// - /// Called when IME is no longer needed - /// - public abstract void DisableIme(); - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHandler.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHandler.cs.meta deleted file mode 100644 index 1a3b8d3b3..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHandler.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 900eec1453121e84290f50bc9dbda114 -timeCreated: 1642231892 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHelper.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHelper.cs deleted file mode 100644 index 4680195b0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHelper.cs +++ /dev/null @@ -1,461 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Shared; -#if ENABLE_INPUT_SYSTEM -using UnityEngine.InputSystem; -#endif - -namespace VoltstroStudios.UnityWebBrowser.Input -{ - /// - /// Helper class for inputs - /// - public static class WebBrowserInputHelper - { - /// - /// Converts a to - /// - /// - /// - public static WindowsKey UnityKeyCodeToWindowKey(this KeyCode key) - { - switch (key) - { - case KeyCode.None: - return WindowsKey.None; - case KeyCode.Backspace: - return WindowsKey.Back; - - case KeyCode.Delete: - return WindowsKey.Delete; - case KeyCode.Tab: - return WindowsKey.Tab; - case KeyCode.Clear: - return WindowsKey.Clear; - case KeyCode.Return: - return WindowsKey.Return; - case KeyCode.Pause: - return WindowsKey.Pause; - case KeyCode.Escape: - return WindowsKey.Escape; - - case KeyCode.Space: - return WindowsKey.Space; - - case KeyCode.KeypadPeriod: - return WindowsKey.OemPeriod; - case KeyCode.KeypadDivide: - return WindowsKey.Divide; - case KeyCode.KeypadMultiply: - return WindowsKey.Multiply; - case KeyCode.KeypadMinus: - return WindowsKey.OemMinus; - case KeyCode.KeypadPlus: - return WindowsKey.Oemplus; - case KeyCode.KeypadEnter: - return WindowsKey.Enter; - - case KeyCode.UpArrow: - return WindowsKey.Up; - case KeyCode.DownArrow: - return WindowsKey.Down; - case KeyCode.RightArrow: - return WindowsKey.Right; - case KeyCode.LeftArrow: - return WindowsKey.Left; - case KeyCode.Insert: - return WindowsKey.Insert; - case KeyCode.Home: - return WindowsKey.Home; - case KeyCode.End: - return WindowsKey.End; - case KeyCode.PageUp: - return WindowsKey.PageUp; - case KeyCode.PageDown: - return WindowsKey.PageDown; - - case KeyCode.F1: - return WindowsKey.F1; - case KeyCode.F2: - return WindowsKey.F2; - case KeyCode.F3: - return WindowsKey.F3; - case KeyCode.F4: - return WindowsKey.F4; - case KeyCode.F5: - return WindowsKey.F5; - case KeyCode.F6: - return WindowsKey.F6; - case KeyCode.F7: - return WindowsKey.F7; - case KeyCode.F8: - return WindowsKey.F8; - case KeyCode.F9: - return WindowsKey.F9; - case KeyCode.F10: - return WindowsKey.F10; - case KeyCode.F11: - return WindowsKey.F11; - case KeyCode.F12: - return WindowsKey.F12; - case KeyCode.F13: - return WindowsKey.F13; - case KeyCode.F14: - return WindowsKey.F14; - case KeyCode.F15: - return WindowsKey.F15; - - case KeyCode.DoubleQuote: - return WindowsKey.OemQuotes; - case KeyCode.Quote: - return WindowsKey.OemQuotes; - case KeyCode.LeftParen: - return WindowsKey.OemOpenBrackets; - case KeyCode.RightParen: - return WindowsKey.OemCloseBrackets; - case KeyCode.Plus: - return WindowsKey.Oemplus; - case KeyCode.Comma: - return WindowsKey.Oemcomma; - case KeyCode.Minus: - return WindowsKey.OemMinus; - case KeyCode.Period: - return WindowsKey.OemPeriod; - case KeyCode.Semicolon: - return WindowsKey.OemSemicolon; - case KeyCode.RightShift: - return WindowsKey.RShiftKey; - case KeyCode.LeftShift: - return WindowsKey.LShiftKey; - case KeyCode.RightControl: - return WindowsKey.RControlKey; - case KeyCode.LeftControl: - return WindowsKey.LControlKey; - case KeyCode.RightAlt: - return WindowsKey.Alt; - case KeyCode.LeftAlt: - return WindowsKey.Alt; - case KeyCode.Print: - return WindowsKey.Print; - case KeyCode.Backslash: - return WindowsKey.OemBackslash; - case KeyCode.Slash: - return WindowsKey.OemQuestion; - case KeyCode.Tilde: - return WindowsKey.Oemtilde; - - case KeyCode.Alpha1: - return WindowsKey.D1; - case KeyCode.Alpha2: - return WindowsKey.D2; - case KeyCode.Alpha3: - return WindowsKey.D3; - case KeyCode.Alpha4: - return WindowsKey.D4; - case KeyCode.Alpha5: - return WindowsKey.D5; - case KeyCode.Alpha6: - return WindowsKey.D6; - case KeyCode.Alpha7: - return WindowsKey.D7; - case KeyCode.Alpha8: - return WindowsKey.D8; - case KeyCode.Alpha9: - return WindowsKey.D9; - case KeyCode.Alpha0: - return WindowsKey.D0; - - case KeyCode.A: - return WindowsKey.A; - case KeyCode.B: - return WindowsKey.B; - case KeyCode.C: - return WindowsKey.C; - case KeyCode.D: - return WindowsKey.D; - case KeyCode.E: - return WindowsKey.E; - case KeyCode.F: - return WindowsKey.F; - case KeyCode.G: - return WindowsKey.G; - case KeyCode.H: - return WindowsKey.H; - case KeyCode.I: - return WindowsKey.I; - case KeyCode.J: - return WindowsKey.J; - case KeyCode.K: - return WindowsKey.K; - case KeyCode.L: - return WindowsKey.L; - case KeyCode.M: - return WindowsKey.M; - case KeyCode.N: - return WindowsKey.N; - case KeyCode.O: - return WindowsKey.O; - case KeyCode.P: - return WindowsKey.P; - case KeyCode.Q: - return WindowsKey.Q; - case KeyCode.R: - return WindowsKey.R; - case KeyCode.S: - return WindowsKey.S; - case KeyCode.T: - return WindowsKey.T; - case KeyCode.U: - return WindowsKey.U; - case KeyCode.V: - return WindowsKey.V; - case KeyCode.W: - return WindowsKey.W; - case KeyCode.Y: - return WindowsKey.Y; - case KeyCode.X: - return WindowsKey.X; - case KeyCode.Z: - return WindowsKey.Z; - - default: - throw new ArgumentOutOfRangeException(nameof(key), key, null); - } - } - -#if ENABLE_INPUT_SYSTEM - /// - /// Converts a to - /// - /// - /// - public static WindowsKey UnityKeyToWindowKey(this Key key) - { - switch (key) - { - case Key.None: - return WindowsKey.None; - case Key.Space: - return WindowsKey.Space; - case Key.Enter: - return WindowsKey.Enter; - case Key.Tab: - return WindowsKey.Tab; - - case Key.Quote: - return WindowsKey.OemQuotes; - case Key.Semicolon: - return WindowsKey.OemSemicolon; - case Key.Comma: - return WindowsKey.Oemcomma; - case Key.Period: - return WindowsKey.OemPeriod; - case Key.LeftBracket: - return WindowsKey.OemOpenBrackets; - case Key.RightBracket: - return WindowsKey.OemCloseBrackets; - case Key.Minus: - return WindowsKey.OemMinus; - case Key.Equals: - return WindowsKey.Oemplus; - - case Key.LeftShift: - return WindowsKey.LShiftKey; - case Key.RightShift: - return WindowsKey.RShiftKey; - case Key.RightAlt: - case Key.LeftAlt: - return WindowsKey.Alt; - case Key.LeftCtrl: - return WindowsKey.LControlKey; - case Key.RightCtrl: - return WindowsKey.RControlKey; - - case Key.Escape: - return WindowsKey.Escape; - - case Key.LeftArrow: - return WindowsKey.Left; - case Key.RightArrow: - return WindowsKey.Right; - case Key.UpArrow: - return WindowsKey.Up; - case Key.DownArrow: - return WindowsKey.Down; - - - case Key.Backspace: - return WindowsKey.Back; - case Key.PageDown: - return WindowsKey.PageDown; - case Key.PageUp: - return WindowsKey.PageUp; - case Key.Home: - return WindowsKey.Home; - case Key.End: - return WindowsKey.End; - case Key.Insert: - return WindowsKey.Insert; - case Key.Delete: - return WindowsKey.Delete; - case Key.PrintScreen: - return WindowsKey.PrintScreen; - case Key.Pause: - return WindowsKey.Pause; - - case Key.Backslash: - return WindowsKey.OemBackslash; - case Key.Slash: - return WindowsKey.OemQuestion; - - case Key.NumpadEnter: - return WindowsKey.Enter; - case Key.NumpadDivide: - return WindowsKey.Divide; - case Key.NumpadMultiply: - return WindowsKey.Multiply; - case Key.NumpadPlus: - return WindowsKey.Play; - case Key.NumpadMinus: - return WindowsKey.OemMinus; - case Key.NumpadPeriod: - return WindowsKey.OemPeriod; - case Key.Numpad0: - return WindowsKey.NumPad0; - case Key.Numpad1: - return WindowsKey.NumPad1; - case Key.Numpad2: - return WindowsKey.NumPad2; - case Key.Numpad3: - return WindowsKey.NumPad3; - case Key.Numpad4: - return WindowsKey.NumPad4; - case Key.Numpad5: - return WindowsKey.NumPad5; - case Key.Numpad6: - return WindowsKey.NumPad6; - case Key.Numpad7: - return WindowsKey.NumPad7; - case Key.Numpad8: - return WindowsKey.NumPad8; - case Key.Numpad9: - return WindowsKey.NumPad9; - - case Key.Backquote: - return WindowsKey.Oemtilde; - case Key.F1: - return WindowsKey.F1; - case Key.F2: - return WindowsKey.F2; - case Key.F3: - return WindowsKey.F3; - case Key.F4: - return WindowsKey.F4; - case Key.F5: - return WindowsKey.F5; - case Key.F6: - return WindowsKey.F6; - case Key.F7: - return WindowsKey.F7; - case Key.F8: - return WindowsKey.F8; - case Key.F9: - return WindowsKey.F9; - case Key.F10: - return WindowsKey.F10; - case Key.F11: - return WindowsKey.F11; - case Key.F12: - return WindowsKey.F12; - - case Key.Digit1: - return WindowsKey.D1; - case Key.Digit2: - return WindowsKey.D2; - case Key.Digit3: - return WindowsKey.D3; - case Key.Digit4: - return WindowsKey.D4; - case Key.Digit5: - return WindowsKey.D5; - case Key.Digit6: - return WindowsKey.D6; - case Key.Digit7: - return WindowsKey.D7; - case Key.Digit8: - return WindowsKey.D8; - case Key.Digit9: - return WindowsKey.D9; - case Key.Digit0: - return WindowsKey.D0; - - case Key.A: - return WindowsKey.A; - case Key.B: - return WindowsKey.B; - case Key.C: - return WindowsKey.C; - case Key.D: - return WindowsKey.D; - case Key.E: - return WindowsKey.E; - case Key.F: - return WindowsKey.F; - case Key.G: - return WindowsKey.G; - case Key.H: - return WindowsKey.H; - case Key.I: - return WindowsKey.I; - case Key.J: - return WindowsKey.J; - case Key.K: - return WindowsKey.K; - case Key.L: - return WindowsKey.L; - case Key.M: - return WindowsKey.M; - case Key.N: - return WindowsKey.N; - case Key.O: - return WindowsKey.O; - case Key.P: - return WindowsKey.P; - case Key.Q: - return WindowsKey.Q; - case Key.R: - return WindowsKey.R; - case Key.S: - return WindowsKey.S; - case Key.T: - return WindowsKey.T; - case Key.U: - return WindowsKey.U; - case Key.V: - return WindowsKey.V; - case Key.W: - return WindowsKey.W; - case Key.Y: - return WindowsKey.Y; - case Key.X: - return WindowsKey.X; - case Key.Z: - return WindowsKey.Z; - - default: - throw new ArgumentOutOfRangeException(nameof(key), key, null); - } - } - -#endif - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHelper.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHelper.cs.meta deleted file mode 100644 index 2056c6260..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e76c516247f72d043ba3eb10521b869f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputSystemHandler.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputSystemHandler.cs deleted file mode 100644 index 864a2ed6e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputSystemHandler.cs +++ /dev/null @@ -1,162 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#if ENABLE_INPUT_SYSTEM - -using System; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.InputSystem; -using UnityEngine.InputSystem.Controls; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Input -{ - /// - /// Input handler using Unity's new input system - /// - [CreateAssetMenu(fileName = "Input System Handler", menuName = "UWB/Inputs/Input System Handler")] - public sealed class WebBrowserInputSystemHandler : WebBrowserInputHandler - { - [Header("Scroll Input")] public InputAction scrollInput; - - public float scrollValue = 0.2f; - - [Header("Pointer Position")] public InputAction pointPosition; - - private readonly List keysDown = new(); - private readonly List keysUp = new(); - private string inputBuffer = string.Empty; - - private Keyboard keyboard; - private IMECompositionMode compositionMode; - - public override float GetScroll() - { - //Mouse scroll wheel in the new input system is fucked, its value is either 120 or -120, - //no in-between or -1.0 to 1.0 like the old input system. Why Unity. - //While there are forum post talking about this, nothing is from Unity themselves about the issue. - float scroll = scrollInput.ReadValue().y; - scroll = Mathf.Clamp(scroll, -scrollValue, scrollValue); - - return scroll; - } - - public override Vector2 GetCursorPos() - { - return pointPosition.ReadValue(); - } - - public override WindowsKey[] GetDownKeys() - { - keysDown.Clear(); - foreach (KeyControl key in keyboard.allKeys) - try - { - if (key.wasPressedThisFrame) - keysDown.Add(key.keyCode.UnityKeyToWindowKey()); - } - catch (ArgumentOutOfRangeException) - { - //Safe to ignore - } - - return keysDown.ToArray(); - } - - public override WindowsKey[] GetUpKeys() - { - keysUp.Clear(); - foreach (KeyControl key in keyboard.allKeys) - try - { - if (key.wasReleasedThisFrame) - keysUp.Add(key.keyCode.UnityKeyToWindowKey()); - } - catch (ArgumentOutOfRangeException) - { - //Safe to ignore - } - - return keysUp.ToArray(); - } - - public override string GetFrameInputBuffer() - { - string buffer = inputBuffer; - inputBuffer = string.Empty; - return buffer; - } - - public override void OnStart() - { - keyboard = Keyboard.current; - - //Don't bother initializing some stuff if we can't get a keyboard - if (keyboard != null) - { - keyboard.onTextInput += OnTextEnter; - inputBuffer = string.Empty; - } - - scrollInput.Enable(); - pointPosition.Enable(); - - keysDown.Clear(); - keysUp.Clear(); - } - - private void OnTextEnter(char character) - { - inputBuffer += character; - } - - public override void OnStop() - { - //Keyboard might actually already be destroyed by now - if (keyboard != null) - { - keyboard.onTextInput -= OnTextEnter; - keyboard = null; - } - - scrollInput.Disable(); - pointPosition.Disable(); - } - - public override void EnableIme(Vector2 location) - { - //Appears we still have to set UnityEngine.Input.imeCompositionMode? - compositionMode = UnityEngine.Input.imeCompositionMode; - UnityEngine.Input.imeCompositionMode = IMECompositionMode.On; - - keyboard.SetIMEEnabled(true); - keyboard.SetIMECursorPosition(location); - } - - public override void DisableIme() - { - UnityEngine.Input.imeCompositionMode = compositionMode; - switch (compositionMode) - { - case IMECompositionMode.Auto: - case IMECompositionMode.On: - keyboard.SetIMEEnabled(true); - break; - case IMECompositionMode.Off: - keyboard.SetIMEEnabled(false); - break; - default: - throw new ArgumentOutOfRangeException(); - } - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputSystemHandler.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputSystemHandler.cs.meta deleted file mode 100644 index 9a66aecce..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserInputSystemHandler.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 3cf93965060e229479bb5961f4c46bcc -timeCreated: 1642232070 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserOldInputHandler.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserOldInputHandler.cs deleted file mode 100644 index 9aa6b3058..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserOldInputHandler.cs +++ /dev/null @@ -1,129 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Collections.Generic; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Input -{ - /// - /// Input handler using Unity's old - /// - [CreateAssetMenu(fileName = "Old Input Handler", menuName = "UWB/Inputs/Old Input Handler")] - public sealed class WebBrowserOldInputHandler : WebBrowserInputHandler - { - private static readonly KeyCode[] Keymap = (KeyCode[])Enum.GetValues(typeof(KeyCode)); - - /// - /// The name of the axis for the scroll - /// - [Tooltip("The name of the axis for the scroll")] - public string scrollAxisName = "Mouse ScrollWheel"; - - /// - /// How much sensitivity for the scroll - /// - [Tooltip("How much sensitivity for the scroll")] - public float scrollSensitivity = 2.0f; - - private readonly List keysDown = new(); - private readonly List keysUp = new(); - - private IMECompositionMode compositionMode; - - public override float GetScroll() - { - return UnityEngine.Input.GetAxis(scrollAxisName) * scrollSensitivity; - } - - public override Vector2 GetCursorPos() - { - return UnityEngine.Input.mousePosition; - } - - public override WindowsKey[] GetDownKeys() - { - keysDown.Clear(); - - foreach (KeyCode key in Keymap) - { - //Why are mouse buttons considered key codes??? - if (key is KeyCode.Mouse0 or KeyCode.Mouse1 or KeyCode.Mouse2 or KeyCode.Mouse3 or KeyCode.Mouse4 - or KeyCode.Mouse5 or KeyCode.Mouse6) - continue; - - try - { - if (UnityEngine.Input.GetKeyDown(key)) - keysDown.Add(key.UnityKeyCodeToWindowKey()); - } - catch (ArgumentOutOfRangeException) - { - //Safe to ignore - } - } - - return keysDown.ToArray(); - } - - public override WindowsKey[] GetUpKeys() - { - keysUp.Clear(); - - foreach (KeyCode key in Keymap) - { - //Why are mouse buttons considered key codes??? - if (key is KeyCode.Mouse0 or KeyCode.Mouse1 or KeyCode.Mouse2 or KeyCode.Mouse3 or KeyCode.Mouse4 - or KeyCode.Mouse5 or KeyCode.Mouse6) - continue; - - try - { - if (UnityEngine.Input.GetKeyUp(key)) - keysUp.Add(key.UnityKeyCodeToWindowKey()); - } - catch (ArgumentOutOfRangeException) - { - //Safe to ignore - } - } - - return keysUp.ToArray(); - } - - public override string GetFrameInputBuffer() - { - return UnityEngine.Input.inputString; - } - - public override void OnStart() - { - keysDown.Clear(); - keysUp.Clear(); - } - - public override void OnStop() - { - } - - public override void EnableIme(Vector2 location) - { - compositionMode = UnityEngine.Input.imeCompositionMode; - UnityEngine.Input.imeCompositionMode = IMECompositionMode.On; - UnityEngine.Input.compositionCursorPos = location; - } - - public override void DisableIme() - { - UnityEngine.Input.imeCompositionMode = compositionMode; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserOldInputHandler.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserOldInputHandler.cs.meta deleted file mode 100644 index 3e74d4ad8..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Input/WebBrowserOldInputHandler.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 99b8c6b87c07aef42a4f1cf4636e5b09 -timeCreated: 1642260667 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging.meta deleted file mode 100644 index a68b2855c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d979a99ab7417aa408bd2bc5d5aecc44 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/DefaultUnityWebBrowserLogger.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/DefaultUnityWebBrowserLogger.cs deleted file mode 100644 index 9307349ab..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/DefaultUnityWebBrowserLogger.cs +++ /dev/null @@ -1,73 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Logging -{ - /// - /// An using Unity's - /// - public sealed class DefaultUnityWebBrowserLogger : IWebBrowserLogger - { - private const string LoggingTag = "[UWB]"; - - private readonly ILogger logger; - - private LogSeverity logSeverity; - - /// - /// A function that defines how sensitive data should be redacted. - /// If null, no redaction is applied. - /// - public Func? redactionHandler; - - public DefaultUnityWebBrowserLogger(LogSeverity logSeverity = LogSeverity.Info, Func? redactionHandler = null) - { - logger = UnityEngine.Debug.unityLogger; - this.logSeverity = logSeverity; - this.redactionHandler = redactionHandler; - } - - public void Debug(object message) - { - if (ShouldLog(LogSeverity.Debug)) - logger.Log(LogType.Log, LoggingTag, redactIfRequired(message)); - } - - public void Warn(object message) - { - if (ShouldLog(LogSeverity.Warn)) - logger.LogWarning(LoggingTag, redactIfRequired(message)); - } - - public void Error(object message) - { - if (ShouldLog(LogSeverity.Error)) - logger.LogError(LoggingTag, redactIfRequired(message)); - } - - private bool ShouldLog(LogSeverity severity) - { - return severity >= logSeverity; - } - - private object redactIfRequired(object message) - { - if (redactionHandler != null && message is string) - { - return redactionHandler((string)message); - } - - return message; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/DefaultUnityWebBrowserLogger.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/DefaultUnityWebBrowserLogger.cs.meta deleted file mode 100644 index 4b37ab23f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/DefaultUnityWebBrowserLogger.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 856e9d8bef23d2b4caa105657e769b8d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/IWebBrowserLogger.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/IWebBrowserLogger.cs deleted file mode 100644 index 12e344952..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/IWebBrowserLogger.cs +++ /dev/null @@ -1,24 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -namespace VoltstroStudios.UnityWebBrowser.Logging -{ - /// - /// Interface for the web browser's logger. - /// Implement - /// - public interface IWebBrowserLogger - { - public void Debug(object message); - - public void Warn(object message); - - public void Error(object message); - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/IWebBrowserLogger.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/IWebBrowserLogger.cs.meta deleted file mode 100644 index 388cd0ff1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/IWebBrowserLogger.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3d908e96d5d39a34c8c43fbcc58e52f6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogSeverityConverter.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogSeverityConverter.cs deleted file mode 100644 index d795b8c88..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogSeverityConverter.cs +++ /dev/null @@ -1,55 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using Newtonsoft.Json; -using UnityEngine.Scripting; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Logging -{ - [Preserve] - internal class JsonLogSeverityConverter : JsonConverter - { - public override bool CanWrite => false; - - public override bool CanRead => true; - - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - throw new NotImplementedException(); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, - JsonSerializer serializer) - { - if (reader.Value is string value) - { - if (value == "Fatal") - return LogSeverity.Fatal; - if (value == "Error") - return LogSeverity.Error; - if (value == "Warning") - return LogSeverity.Warn; - if (value == "Debug") - return LogSeverity.Debug; - } - - return null; - } - - public override bool CanConvert(Type objectType) - { - if (objectType == typeof(string)) - return true; - - return false; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogSeverityConverter.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogSeverityConverter.cs.meta deleted file mode 100644 index d9d2fcaf5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogSeverityConverter.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: b00216844803774419ad61c77816c572 -timeCreated: 1641109104 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogStructure.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogStructure.cs deleted file mode 100644 index 43f7a949c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogStructure.cs +++ /dev/null @@ -1,39 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using Newtonsoft.Json; -using UnityEngine.Scripting; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Logging -{ - [Preserve] - internal class JsonLogStructure - { - [JsonProperty("@t")] - public DateTime Timestamp { get; set; } - - [JsonProperty("@m")] - public string Message { get; set; } - - [JsonConverter(typeof(JsonLogSeverityConverter))] - [JsonProperty("@l")] - public LogSeverity Level { get; set; } = LogSeverity.Info; - - [JsonProperty("@x")] - public string Exception { get; set; } - - [JsonProperty("@i")] - public string EventId { get; set; } - - [JsonProperty("SourceContext")] - public string Category { get; set; } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogStructure.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogStructure.cs.meta deleted file mode 100644 index 99b2e7f67..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/JsonLogStructure.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 77a40d56fc91e4c43a5ebaddb4e068d3 -timeCreated: 1641108376 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/ProcessLogHandler.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/ProcessLogHandler.cs deleted file mode 100644 index 9a17408f1..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/ProcessLogHandler.cs +++ /dev/null @@ -1,81 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using System.Diagnostics; -using Newtonsoft.Json; -using UnityEngine.Scripting; -using VoltstroStudios.UnityWebBrowser.Core; -using VoltstroStudios.UnityWebBrowser.Shared; - -namespace VoltstroStudios.UnityWebBrowser.Logging -{ - /// - /// Handles UWB logs - /// - [Preserve] - public class ProcessLogHandler - { - private readonly IWebBrowserLogger logger; - - internal ProcessLogHandler(WebBrowserClient client) - { - logger = client.logger; - } - - public event Action OnProcessOutputLog; - - public event Action OnProcessErrorLog; - - internal void HandleErrorProcessLog(object sender, DataReceivedEventArgs e) - { - if (e.Data == null) - return; - - OnProcessErrorLog?.Invoke(e.Data); - } - - internal void HandleOutputProcessLog(object sender, DataReceivedEventArgs e) - { - if (e.Data == null) - return; - - try - { - JsonLogStructure logStructure = ReadJsonLog(e.Data); - - if (logStructure.Level is LogSeverity.Debug or LogSeverity.Info) - logger.Debug($"[{logStructure.Category}]: {logStructure.Message}"); - else if (logStructure.Level == LogSeverity.Warn) - logger.Warn($"[{logStructure.Category}]: {logStructure.Message}"); - else if (logStructure.Level == LogSeverity.Error) - logger.Error($"[{logStructure.Category}]: {logStructure.Message}\n{logStructure.Exception}"); - else if (logStructure.Level == LogSeverity.Fatal) - logger.Error($"[{logStructure.Category}]: {logStructure.Message}\n{logStructure.Exception}"); - } - catch (Exception ex) - { - logger.Error($"An error occured with processing a log event from the UWB engine!\n\nRaw Log Message:\n{e.Data}\n\nException:\n{ex}"); - } - - OnProcessOutputLog?.Invoke(e.Data); - } - - /// - /// Reads json and deserializes it as - /// - /// - /// - internal static JsonLogStructure ReadJsonLog(string json) - { - JsonLogStructure logStructure = JsonConvert.DeserializeObject(json); - return logStructure; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/ProcessLogHandler.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/ProcessLogHandler.cs.meta deleted file mode 100644 index a25369ecc..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Logging/ProcessLogHandler.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3e768817c2b53464ea6d6d06be8a86f0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbHasInitializedException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbHasInitializedException.cs deleted file mode 100644 index 88ed58400..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbHasInitializedException.cs +++ /dev/null @@ -1,24 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license.See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// An related to when trying to change something that cannot be changed when the - /// UWB has already initalized - /// - public sealed class UwbHasInitializedException : Exception - { - internal UwbHasInitializedException(string message) : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbHasInitializedException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbHasInitializedException.cs.meta deleted file mode 100644 index 4a8413617..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbHasInitializedException.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 31b2b12ae007f9d408307e5a4b2c1eb1 -timeCreated: 1728181001 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsConnectedException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsConnectedException.cs deleted file mode 100644 index 6199d8ada..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsConnectedException.cs +++ /dev/null @@ -1,25 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// An related to when you are trying to change something that cannot be changed when the - /// engine is already running - /// - public sealed class UwbIsConnectedException : Exception - { - internal UwbIsConnectedException(string message) - : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsConnectedException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsConnectedException.cs.meta deleted file mode 100644 index 6828e9129..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsConnectedException.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a0181120d069dd40bf3437525848e11 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotConnectedException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotConnectedException.cs deleted file mode 100644 index 05792a4b5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotConnectedException.cs +++ /dev/null @@ -1,23 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// An related to when you are trying to do something when the engine is not running - /// - public sealed class UwbIsNotConnectedException : Exception - { - internal UwbIsNotConnectedException(string message) : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotConnectedException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotConnectedException.cs.meta deleted file mode 100644 index ff8ac3f3d..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotConnectedException.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d37feccf7b790d346ac6a43f5a4dd4b9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotReadyException.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotReadyException.cs deleted file mode 100644 index 8a8d4f046..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotReadyException.cs +++ /dev/null @@ -1,24 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// An when UWB is not ready - /// - public sealed class UwbIsNotReadyException : Exception - { - internal UwbIsNotReadyException(string message) - : base(message) - { - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotReadyException.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotReadyException.cs.meta deleted file mode 100644 index e387be565..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbIsNotReadyException.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 17df929b74ea246459cc5a324e1a3a8e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbWebView.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbWebView.cs deleted file mode 100644 index f4d24dcbb..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbWebView.cs +++ /dev/null @@ -1,198 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Net; -using System.Net.NetworkInformation; -using System.Threading.Tasks; -using UnityEngine; -using Cysharp.Threading.Tasks; -using Immutable.Browser.Core; -using Immutable.Passport.Core.Logging; -using VoltstroStudios.UnityWebBrowser; -using VoltstroStudios.UnityWebBrowser.Communication; -using VoltstroStudios.UnityWebBrowser.Core; -using VoltstroStudios.UnityWebBrowser.Core.Engines; -using VoltstroStudios.UnityWebBrowser.Core.Js; -using VoltstroStudios.UnityWebBrowser.Helper; -using VoltstroStudios.UnityWebBrowser.Logging; -using VoltstroStudios.UnityWebBrowser.Shared; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -// ReSharper disable Unity.IncorrectScriptableObjectInstantiation - -namespace VoltstroStudios.UnityWebBrowser -{ - public class UwbWebView : MonoBehaviour, IWebBrowserClient - { - public event OnUnityPostMessageDelegate? OnUnityPostMessage; - - // Required for Gree browser only -#if (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX || UNITY_WEBGL - public event OnUnityPostMessageDelegate? OnAuthPostMessage; - public event OnUnityPostMessageErrorDelegate? OnPostMessageError; -#endif - - private WebBrowserClient? webBrowserClient; - - public async UniTask Init(int engineStartupTimeoutMs, bool redactTokensInLogs, Func redactionHandler) - { - GameObject persistentObject = new GameObject("UWB"); - WebBrowserNoUi browser = persistentObject.AddComponent(); - DontDestroyOnLoad(persistentObject); - - WebBrowserClient webBrowserClient = browser.browserClient; - - webBrowserClient.engineStartupTimeout = engineStartupTimeoutMs; - webBrowserClient.headless = true; - webBrowserClient.noSandbox = true; - - // Log level - var logSeverity = PassportLogger.CurrentLogLevel switch - { - LogLevel.Debug => LogSeverity.Debug, - LogLevel.Warn => LogSeverity.Warn, - LogLevel.Error => LogSeverity.Error, - _ => LogSeverity.Info - }; - webBrowserClient.logSeverity = logSeverity; - - // Logger - webBrowserClient.Logger = new DefaultUnityWebBrowserLogger(logSeverity: logSeverity, redactionHandler: redactTokensInLogs ? redactionHandler : null); - - // Js - webBrowserClient.jsMethodManager = new JsMethodManager { jsMethodsEnable = true }; - webBrowserClient.RegisterJsMethod("callback", - (message) => { OnUnityPostMessage?.Invoke(message); }); - - // Cache - var browserEngineMainDir = WebBrowserUtils.GetAdditionFilesDirectory(); - webBrowserClient.CachePath = new FileInfo(Path.Combine(browserEngineMainDir, "ImmutableSDK/UWBCache")); - - // Game bridge path - webBrowserClient.initialUrl = GameBridge.GetFilePath(); - - // Set up engine - EngineConfiguration engineConfig = ScriptableObject.CreateInstance(); - engineConfig.engineAppName = "UnityWebBrowser.Engine.Cef"; - - var engineFiles = new List(); - - // Windows engine configuration - engineFiles.Add(new Engine.EnginePlatformFiles() - { - platform = Platform.Windows64, - engineBaseAppLocation = "", - engineRuntimeLocation = "UWB/" -#if UNITY_EDITOR - , - engineEditorLocation = "Packages/com.immutable.passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.win.x64@2.2.5-130.1.16/Engine~" -#endif - }); - - // macOS engine configuration (Intel) - engineFiles.Add(new Engine.EnginePlatformFiles() - { - platform = Platform.MacOS, - engineBaseAppLocation = "UnityWebBrowser.Engine.Cef.app/Contents/MacOS", - engineRuntimeLocation = "UWB/" -#if UNITY_EDITOR - , - engineEditorLocation = "Packages/com.immutable.passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.x64@2.2.5-130.1.16/Engine~" -#endif - }); - - // macOS engine configuration (ARM64 - Apple Silicon) - engineFiles.Add(new Engine.EnginePlatformFiles() - { - platform = Platform.MacOSArm64, - engineBaseAppLocation = "UnityWebBrowser.Engine.Cef.app/Contents/MacOS", - engineRuntimeLocation = "UWB/" -#if UNITY_EDITOR - , - engineEditorLocation = "Packages/com.immutable.passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser.engine.cef.macos.arm64@2.2.5-130.1.16/Engine~" -#endif - }); - - engineConfig.engineFiles = engineFiles.ToArray(); - webBrowserClient.engine = engineConfig; - - // Find available ports - TCPCommunicationLayer tcpCommunicationLayer = ScriptableObject.CreateInstance(); - var rnd = new System.Random(); - do - { - tcpCommunicationLayer.inPort = rnd.Next(1024, 65353); - tcpCommunicationLayer.outPort = tcpCommunicationLayer.inPort + 1; - } - while (!CheckAvailableServerPort(tcpCommunicationLayer.inPort) || !CheckAvailableServerPort(tcpCommunicationLayer.outPort)); - - webBrowserClient.communicationLayer = tcpCommunicationLayer; - - // Wait for UWB to be connected - await WaitForClientConnected(webBrowserClient); - - this.webBrowserClient = webBrowserClient; - } - - private UniTask WaitForClientConnected(WebBrowserClient webBrowserClient) - { - var tcs = new TaskCompletionSource(); - - webBrowserClient.OnLoadFinish += OnLoadFinish; - - return tcs.Task.AsUniTask(); - - void OnLoadFinish(string url) - { - webBrowserClient.OnLoadFinish -= OnLoadFinish; - tcs.SetResult(true); - } - } - - private bool CheckAvailableServerPort(int port) - { - var tcpConnInfoArray = IPGlobalProperties.GetIPGlobalProperties().GetActiveTcpListeners(); - return tcpConnInfoArray.All(endpoint => endpoint.Port != port); - } - - public void ExecuteJs(string js) - { - webBrowserClient?.ExecuteJs(js); - } - - public void LaunchAuthURL(string url, string redirectUri) - { - Application.OpenURL(url); - } - - // Only available for mobile devices -#if (UNITY_IPHONE && !UNITY_EDITOR) || (UNITY_ANDROID && !UNITY_EDITOR) - public void ClearCache(bool includeDiskFiles) - { - // UWB doesn't have direct cache clearing methods for mobile - // This would need to be implemented if mobile support is added - } - - public void ClearStorage() - { - // UWB doesn't have direct storage clearing methods for mobile - // This would need to be implemented if mobile support is added - } -#endif - - // Required for Windows browser only -#if UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN) - public void Dispose() - { - if (webBrowserClient?.HasDisposed == true) return; - - webBrowserClient?.Dispose(); - } -#endif - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbWebView.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbWebView.cs.meta deleted file mode 100644 index a81e8256b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/UwbWebView.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 99d4b0de27ae47edaa8f4a544bdabd4a -timeCreated: 1732610661 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/VoltstroStudios.UnityWebBrowser.asmdef b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/VoltstroStudios.UnityWebBrowser.asmdef deleted file mode 100644 index 60ef654bd..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/VoltstroStudios.UnityWebBrowser.asmdef +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "VoltstroStudios.UnityWebBrowser", - "rootNamespace": "VoltstroStudios.UnityWebBrowser", - "references": [ - "VoltstroStudios.NativeArraySpanExtensions", - "Unity.TextMeshPro", - "Unity.InputSystem", - "Unity.ugui", - "UniTask", - "Immutable.Browser.Core", - "Immutable.Passport.Core.Logging" - ], - "includePlatforms": [ - "Editor", - "WindowsStandalone64", - "macOSStandalone" - ], - "excludePlatforms": [], - "allowUnsafeCode": false, - "overrideReferences": true, - "precompiledReferences": [ - "VoltstroStudios.UnityWebBrowser.Shared.dll", - "VoltRpc.dll", - "Newtonsoft.Json.dll" - ], - "autoReferenced": true, - "defineConstraints": [], - "versionDefines": [ - { - "name": "com.unity.textmeshpro", - "expression": "3.0", - "define": "TMP_ENABLED" - }, - { - "name": "com.unity.ugui", - "expression": "2.0", - "define": "TMP_ENABLED" - }, - { - "name": "dev.voltstro.unitywebbrowser.unix-support", - "expression": "1", - "define": "UNIX_SUPPORT" - } - ], - "noEngineReferences": false -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserNoUi.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserNoUi.cs deleted file mode 100644 index 5521dc8e0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserNoUi.cs +++ /dev/null @@ -1,13 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -using VoltstroStudios.UnityWebBrowser.Core; - -namespace VoltstroStudios.UnityWebBrowser -{ - public class WebBrowserNoUi : BaseUwbClientManager - { - - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserNoUi.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserNoUi.cs.meta deleted file mode 100644 index f49563e48..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserNoUi.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 375f2080f26a48f3a70bc839162d95a3 -timeCreated: 1732758719 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIBasic.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIBasic.cs deleted file mode 100644 index 8fdcc9006..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIBasic.cs +++ /dev/null @@ -1,23 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Core; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// Basic version of UWB. Lacks fullscreen controls - /// - [AddComponentMenu("UWB/Web Browser Basic")] - [HelpURL("https://github.com/Voltstro-Studios/UnityWebBrowser")] - public sealed class WebBrowserUIBasic : RawImageUwbClientInputHandler - { - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIBasic.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIBasic.cs.meta deleted file mode 100644 index a9fa2e98a..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIBasic.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 03690eefa934ebf4f8f1002f4f41ed39 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {fileID: 2800000, guid: f1f3817174abeeb4995f65e76bea4e84, type: 3} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControls.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControls.cs deleted file mode 100644 index b3f00170e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControls.cs +++ /dev/null @@ -1,71 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using System; -using UnityEngine; -using UnityEngine.UI; -using VoltstroStudios.UnityWebBrowser.Core; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// Included UI controller for UWB. - /// Handles the URL input field. - /// - [AddComponentMenu("UWB/Web Browser UI Controls")] - [HelpURL("https://github.com/Voltstro-Studios/UnityWebBrowser")] - [RequireComponent(typeof(BaseUwbClientManager))] - [DisallowMultipleComponent] - public sealed class WebBrowserUIControls : MonoBehaviour - { - /// - /// The for the URL - /// - [Tooltip("The input field for the URL")] - public InputField inputField; - - private BaseUwbClientManager webBrowserUi; - - private void Start() - { - if (inputField == null) - throw new NullReferenceException("Input field is null!"); - - webBrowserUi = GetComponent(); - if (webBrowserUi == null) - throw new NullReferenceException("Web browser UI is null!"); - - webBrowserUi.browserClient.OnUrlChanged += OnUrlChanged; - inputField.text = webBrowserUi.browserClient.initialUrl; - } - - private void OnDestroy() - { - webBrowserUi.browserClient.OnUrlChanged -= OnUrlChanged; - } - - private void OnUrlChanged(string url) - { - inputField.text = url; - } - - /// - /// Submits the input field's text to be navigated to - /// - public void SubmitInput() - { - if (webBrowserUi == null) return; - - if (!string.IsNullOrEmpty(inputField.text)) - webBrowserUi.NavigateUrl(inputField.text); - else - throw new NullReferenceException("The web browser UI is null!"); - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControls.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControls.cs.meta deleted file mode 100644 index 83b1f4898..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControls.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ee53d692262f41d4cb968deef5adb6fa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {fileID: 2800000, guid: f1f3817174abeeb4995f65e76bea4e84, type: 3} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControlsTMP.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControlsTMP.cs deleted file mode 100644 index 6c2b995e4..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControlsTMP.cs +++ /dev/null @@ -1,75 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -#if TMP_ENABLED - -using System; -using TMPro; -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Core; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// Included UI controller for UWB (For TMP). - /// Handles the URL input field. - /// - [AddComponentMenu("UWB/Web Browser UI Controls (TMP)")] - [HelpURL("https://github.com/Voltstro-Studios/UnityWebBrowser")] - [RequireComponent(typeof(BaseUwbClientManager))] - [DisallowMultipleComponent] - public sealed class WebBrowserUIControlsTMP : MonoBehaviour - { - /// - /// The for the URL - /// - [Tooltip("The input field for the URL")] - public TMP_InputField inputField; - - private BaseUwbClientManager webBrowserUi; - - private void Start() - { - if (inputField == null) - throw new NullReferenceException("Input field is null!"); - - webBrowserUi = GetComponent(); - if (webBrowserUi == null) - throw new NullReferenceException("Web browser UI is null!"); - - webBrowserUi.browserClient.OnUrlChanged += OnUrlChanged; - inputField.text = webBrowserUi.browserClient.initialUrl; - } - - private void OnDestroy() - { - webBrowserUi.browserClient.OnUrlChanged -= OnUrlChanged; - } - - private void OnUrlChanged(string url) - { - inputField.text = url; - } - - /// - /// Submits the input field's text to be navigated to - /// - public void SubmitInput() - { - if (webBrowserUi == null) return; - - if (!string.IsNullOrEmpty(inputField.text)) - webBrowserUi.NavigateUrl(inputField.text); - else - throw new NullReferenceException("The web browser UI is null!"); - } - } -} - -#endif - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControlsTMP.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControlsTMP.cs.meta deleted file mode 100644 index ff4e45ad5..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIControlsTMP.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e419b698567e0c1448661f7f275f64e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {fileID: 2800000, guid: f1f3817174abeeb4995f65e76bea4e84, type: 3} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIFull.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIFull.cs deleted file mode 100644 index e216d32e0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIFull.cs +++ /dev/null @@ -1,37 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2022 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using UnityEngine; -using VoltstroStudios.UnityWebBrowser.Core; - -namespace VoltstroStudios.UnityWebBrowser -{ - /// - /// Full fat version of UWB, has fullscreen controls. - /// - [AddComponentMenu("UWB/Web Browser Full")] - [HelpURL("https://github.com/Voltstro-Studios/UnityWebBrowser")] - public sealed class WebBrowserUIFull : RawImageUwbClientInputHandler - { - public FullscreenHandler fullscreenHandler = new(); - - protected override void OnStart() - { - base.OnStart(); - fullscreenHandler.graphicComponent = image; - browserClient.OnFullscreen += fullscreenHandler.OnEngineFullscreen; - } - - protected override void OnDestroyed() - { - base.OnDestroyed(); - browserClient.OnFullscreen -= fullscreenHandler.OnEngineFullscreen; - } - } -} - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIFull.cs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIFull.cs.meta deleted file mode 100644 index 37aa16bd7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/WebBrowserUIFull.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8fcf0ee2b8729d949b11d91a3309ecb8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {fileID: 2800000, guid: f1f3817174abeeb4995f65e76bea4e84, type: 3} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials.meta deleted file mode 100644 index a1403948a..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5dfa694305293f4459bc5a7558aae369 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/arrow.png b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/arrow.png deleted file mode 100644 index 8b204e74f..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/arrow.png and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/arrow.png.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/arrow.png.meta deleted file mode 100644 index db2ea0dc9..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/arrow.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 0874442780342f04e8b249e9e10636d2 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/credits.txt b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/credits.txt deleted file mode 100644 index 12df72424..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/credits.txt +++ /dev/null @@ -1,9 +0,0 @@ -Icon Credits: -Refresh icon made by Freepik: -https://www.flaticon.com/free-icon/reload_560463 - -Right Arrow icon made by Roundicons: -https://www.flaticon.com/free-icon/right-arrow_271226 - -Next icon made by Chanut: -https://www.flaticon.com/free-icon/next_151858 \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/credits.txt.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/credits.txt.meta deleted file mode 100644 index 11616c24f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/credits.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c8a56b3f729264f4c946968700b74454 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/reload.png b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/reload.png deleted file mode 100644 index 79fad44ad..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/reload.png and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/reload.png.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/reload.png.meta deleted file mode 100644 index 489b1a8cf..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/reload.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: aa3c986a43c22084590db2dcc76fdc42 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/right-arrow.png b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/right-arrow.png deleted file mode 100644 index c97fab832..000000000 Binary files a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/right-arrow.png and /dev/null differ diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/right-arrow.png.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/right-arrow.png.meta deleted file mode 100644 index d65c6f0d2..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Materials/right-arrow.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 141a7ffeedfaaa14d81c3aec08c6aed9 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs.meta deleted file mode 100644 index dddf24d52..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 76c87038ba41f3d48bcf9f1682cc4aa9 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser (TMP).prefab b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser (TMP).prefab deleted file mode 100644 index 2a25f4fd3..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser (TMP).prefab +++ /dev/null @@ -1,1683 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &7454210982751757937 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210982751757936} - - component: {fileID: 7454210982751758221} - - component: {fileID: 7454210982751758222} - - component: {fileID: 7454210982751758223} - m_Layer: 5 - m_Name: GoBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210982751757936 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210983125624614} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -21.300049, y: -21} - m_SizeDelta: {x: 42.583496, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210982751758221 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_CullTransparentMesh: 1 ---- !u!114 &7454210982751758222 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210982751758223 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210982751758222} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 7454210984040730581} - m_TargetAssemblyTypeName: UnityWebBrowser.WebBrowserUIControlsTMP, UnityWebBrowser - m_MethodName: SubmitInput - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210982861792253 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210982861792252} - - component: {fileID: 7454210982861792249} - - component: {fileID: 7454210982861792250} - - component: {fileID: 7454210982861792251} - m_Layer: 5 - m_Name: Placeholder - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210982861792252 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982861792253} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210984337109240} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210982861792249 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982861792253} - m_CullTransparentMesh: 1 ---- !u!114 &7454210982861792250 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982861792253} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Enter URL... - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 2150773298 - m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 25.95 - m_fontSizeBase: 14 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 2 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 0 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 1 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 1 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &7454210982861792251 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982861792253} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreLayout: 1 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: -1 - m_PreferredHeight: -1 - m_FlexibleWidth: -1 - m_FlexibleHeight: -1 - m_LayoutPriority: 1 ---- !u!1 &7454210983018091840 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983018091871} - - component: {fileID: 7454210983018091869} - - component: {fileID: 7454210983018091870} - m_Layer: 5 - m_Name: Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983018091871 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983018091840} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210984337109240} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983018091869 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983018091840} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983018091870 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983018091840} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "\u200B" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4281479730 - m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 72 - m_fontSizeBase: 14 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 0 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 1 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 1 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7454210983125624615 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983125624614} - - component: {fileID: 7454210983125624612} - - component: {fileID: 7454210983125624613} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983125624614 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983125624615} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210982751757936} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983125624612 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983125624615} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983125624613 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983125624615} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 141a7ffeedfaaa14d81c3aec08c6aed9, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7454210983313359674 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983313359673} - - component: {fileID: 7454210983313359670} - - component: {fileID: 7454210983313359671} - - component: {fileID: 7454210983313359672} - m_Layer: 5 - m_Name: RefreshBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983313359673 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984369384061} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 110.4, y: -21} - m_SizeDelta: {x: 42.5835, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983313359670 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983313359671 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210983313359672 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210983313359671} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 3377454761578556880} - m_TargetAssemblyTypeName: UnityWebBrowser.Core.BaseUwbClientManager, UnityWebBrowser - m_MethodName: Refresh - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983333951894 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983333951893} - - component: {fileID: 7454210983333951890} - - component: {fileID: 7454210983333951891} - - component: {fileID: 7454210983333951892} - m_Layer: 5 - m_Name: BackBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983333951893 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984661012674} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21.291748, y: -21} - m_SizeDelta: {x: 42.5835, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983333951890 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983333951891 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210983333951892 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210983333951891} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 3377454761578556880} - m_TargetAssemblyTypeName: UnityWebBrowser.Core.BaseUwbClientManager, UnityWebBrowser - m_MethodName: GoBack - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983584133262 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983584133261} - - component: {fileID: 7454210983584133260} - m_Layer: 5 - m_Name: WebBrowser - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983584133261 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983584133262} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984040730585} - - {fileID: 7454210983829796802} - m_Father: {fileID: 7454210984458747694} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983584133260 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983584133262} - m_CullTransparentMesh: 1 ---- !u!1 &7454210983610425331 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983610425330} - - component: {fileID: 7454210983610425103} - - component: {fileID: 7454210983610425328} - - component: {fileID: 7454210983610425329} - m_Layer: 5 - m_Name: ForwardBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983610425330 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984443129169} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 66.1, y: -21} - m_SizeDelta: {x: 42.5835, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983610425103 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983610425328 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210983610425329 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210983610425328} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 3377454761578556880} - m_TargetAssemblyTypeName: UnityWebBrowser.Core.BaseUwbClientManager, UnityWebBrowser - m_MethodName: GoForward - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983829796803 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983829796802} - - component: {fileID: 7454210983829796801} - m_Layer: 5 - m_Name: Navigation - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983829796802 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983829796803} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210983333951893} - - {fileID: 7454210983610425330} - - {fileID: 7454210983313359673} - - {fileID: 7454210984495948279} - - {fileID: 7454210982751757936} - m_Father: {fileID: 7454210983584133261} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -21} - m_SizeDelta: {x: 0, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983829796801 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983829796803} - m_CullTransparentMesh: 1 ---- !u!1 &7454210984040730586 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984040730585} - - component: {fileID: 7454210984040730583} - - component: {fileID: 7454210984040730584} - - component: {fileID: 3377454761578556880} - - component: {fileID: 7454210984040730581} - m_Layer: 5 - m_Name: BrowserController - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984040730585 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983584133261} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -32} - m_SizeDelta: {x: 0, y: -20} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984040730583 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984040730584 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Texture: {fileID: 0} - m_UVRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 ---- !u!114 &3377454761578556880 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 53d0570114d34f649962da70092c0cea, type: 3} - m_Name: - m_EditorClassIdentifier: - browserClient: - engine: {fileID: 11400000, guid: 649ce3cfdf00ca615abcf2bb62227f5c, type: 2} - initialUrl: https://voltstro.dev - resolution: - Width: 1920 - Height: 1080 - backgroundColor: - serializedVersion: 2 - rgba: 4294967295 - javascript: 1 - cache: 1 - webRtc: 0 - proxySettings: - Username: - Password: - ProxyServer: 0 - remoteDebugging: 0 - remoteDebuggingPort: 9022 - communicationLayer: {fileID: 11400000, guid: 05fef73d64ae908d1b4ec02a676d1ccc, type: 2} - engineStartupTimeout: 4000 - logSeverity: 1 - performanceMode: 0 - inputHandler: {fileID: 11400000, guid: 776a2236bf720e5cbb6ca38016918dd0, type: 2} ---- !u!114 &7454210984040730581 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cda203de1f01db049a8c6c4d1359c877, type: 3} - m_Name: - m_EditorClassIdentifier: - inputField: {fileID: 7454210984495948278} ---- !u!1 &7454210984337109241 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984337109240} - - component: {fileID: 7454210984337109239} - m_Layer: 5 - m_Name: Text Area - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984337109240 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984337109241} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210982861792252} - - {fileID: 7454210983018091871} - m_Father: {fileID: 7454210984495948279} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -0.4999981} - m_SizeDelta: {x: -20, y: -13} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &7454210984337109239 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984337109241} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Padding: {x: -8, y: -5, z: -8, w: -5} - m_Softness: {x: 0, y: 0} ---- !u!1 &7454210984369384062 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984369384061} - - component: {fileID: 7454210984369384059} - - component: {fileID: 7454210984369384060} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984369384061 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984369384062} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983313359673} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984369384059 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984369384062} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984369384060 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984369384062} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: aa3c986a43c22084590db2dcc76fdc42, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7454210984443129170 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984443129169} - - component: {fileID: 7454210984443129199} - - component: {fileID: 7454210984443129168} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984443129169 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984443129170} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983610425330} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984443129199 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984443129170} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984443129168 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984443129170} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 0874442780342f04e8b249e9e10636d2, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7454210984458747666 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984458747694} - - component: {fileID: 7454210984458747695} - - component: {fileID: 7454210984458747664} - - component: {fileID: 7454210984458747665} - m_Layer: 5 - m_Name: UnityWebBrowser (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984458747694 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210983584133261} - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!223 &7454210984458747695 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 25 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!114 &7454210984458747664 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 0 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 800, y: 600} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!114 &7454210984458747665 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!1 &7454210984495948280 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984495948279} - - component: {fileID: 7454210984495948276} - - component: {fileID: 7454210984495948277} - - component: {fileID: 7454210984495948278} - m_Layer: 5 - m_Name: URLField - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984495948279 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984495948280} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984337109240} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 43.78833, y: -21} - m_SizeDelta: {x: -193.5625, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984495948276 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984495948280} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984495948277 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984495948280} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210984495948278 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984495948280} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210984495948277} - m_TextViewport: {fileID: 7454210984337109240} - m_TextComponent: {fileID: 7454210983018091870} - m_Placeholder: {fileID: 7454210982861792250} - m_VerticalScrollbar: {fileID: 0} - m_VerticalScrollbarEventHandler: {fileID: 0} - m_LayoutGroup: {fileID: 0} - m_ScrollSensitivity: 1 - m_ContentType: 0 - m_InputType: 0 - m_AsteriskChar: 42 - m_KeyboardType: 0 - m_LineType: 0 - m_HideMobileInput: 0 - m_HideSoftKeyboard: 0 - m_CharacterValidation: 0 - m_RegexValue: - m_GlobalPointSize: 14 - m_CharacterLimit: 0 - m_OnEndEdit: - m_PersistentCalls: - m_Calls: [] - m_OnSubmit: - m_PersistentCalls: - m_Calls: [] - m_OnSelect: - m_PersistentCalls: - m_Calls: [] - m_OnDeselect: - m_PersistentCalls: - m_Calls: [] - m_OnTextSelection: - m_PersistentCalls: - m_Calls: [] - m_OnEndTextSelection: - m_PersistentCalls: - m_Calls: [] - m_OnValueChanged: - m_PersistentCalls: - m_Calls: [] - m_OnTouchScreenKeyboardStatusChanged: - m_PersistentCalls: - m_Calls: [] - m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_CustomCaretColor: 0 - m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} - m_Text: - m_CaretBlinkRate: 0.85 - m_CaretWidth: 1 - m_ReadOnly: 0 - m_RichText: 1 - m_GlobalFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_OnFocusSelectAll: 1 - m_ResetOnDeActivation: 1 - m_RestoreOriginalTextOnEscape: 1 - m_isRichTextEditingAllowed: 0 - m_LineLimit: 0 - m_InputValidator: {fileID: 0} ---- !u!1 &7454210984661012675 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984661012674} - - component: {fileID: 7454210984661012672} - - component: {fileID: 7454210984661012673} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984661012674 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984661012675} - m_LocalRotation: {x: 0, y: 0, z: 1, w: 0} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983333951893} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984661012672 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984661012675} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984661012673 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984661012675} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 0874442780342f04e8b249e9e10636d2, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser (TMP).prefab.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser (TMP).prefab.meta deleted file mode 100644 index 8005b9c83..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser (TMP).prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b59194ee6b7484d469d7886e9d2c9e6f -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser.prefab b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser.prefab deleted file mode 100644 index 20769708f..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser.prefab +++ /dev/null @@ -1,1473 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &1943087602985920869 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7787402211193364730} - - component: {fileID: 1895659205024892397} - - component: {fileID: 2670640863394542495} - m_Layer: 5 - m_Name: Placeholder - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7787402211193364730 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1943087602985920869} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5127757420656167999} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -0.5} - m_SizeDelta: {x: -20, y: -13} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1895659205024892397 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1943087602985920869} - m_CullTransparentMesh: 1 ---- !u!114 &2670640863394542495 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1943087602985920869} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.3679245, g: 0.3679245, b: 0.3679245, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 25 - m_FontStyle: 2 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 3 - m_AlignByGeometry: 0 - m_RichText: 0 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: Enter URL... ---- !u!1 &3603482957840665211 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5127757420656167999} - - component: {fileID: 7138724246688915050} - - component: {fileID: 3843828474661868353} - - component: {fileID: 3784142199285309107} - m_Layer: 5 - m_Name: URLField - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5127757420656167999 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3603482957840665211} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7787402211193364730} - - {fileID: 861628836288077558} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 43.788, y: 0} - m_SizeDelta: {x: 1726.4, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7138724246688915050 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3603482957840665211} - m_CullTransparentMesh: 1 ---- !u!114 &3843828474661868353 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3603482957840665211} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3784142199285309107 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3603482957840665211} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 3843828474661868353} - m_TextComponent: {fileID: 945981061753187135} - m_Placeholder: {fileID: 2670640863394542495} - m_ContentType: 0 - m_InputType: 0 - m_AsteriskChar: 42 - m_KeyboardType: 0 - m_LineType: 0 - m_HideMobileInput: 0 - m_CharacterValidation: 0 - m_CharacterLimit: 0 - m_OnSubmit: - m_PersistentCalls: - m_Calls: [] - m_OnDidEndEdit: - m_PersistentCalls: - m_Calls: [] - m_OnValueChanged: - m_PersistentCalls: - m_Calls: [] - m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_CustomCaretColor: 0 - m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} - m_Text: - m_CaretBlinkRate: 0.85 - m_CaretWidth: 1 - m_ReadOnly: 0 - m_ShouldActivateOnSelect: 1 ---- !u!1 &6811455890398223131 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 861628836288077558} - - component: {fileID: 7851973069307388961} - - component: {fileID: 945981061753187135} - m_Layer: 5 - m_Name: Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &861628836288077558 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6811455890398223131} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5127757420656167999} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -0.5} - m_SizeDelta: {x: -20, y: -13} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7851973069307388961 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6811455890398223131} - m_CullTransparentMesh: 1 ---- !u!114 &945981061753187135 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6811455890398223131} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 25 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 0 - m_AlignByGeometry: 0 - m_RichText: 0 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: ---- !u!1 &7454210982751757937 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210982751757936} - - component: {fileID: 7454210982751758221} - - component: {fileID: 7454210982751758222} - - component: {fileID: 7454210982751758223} - m_Layer: 5 - m_Name: GoBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210982751757936 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210983125624614} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -21.300049, y: -21} - m_SizeDelta: {x: 42.583496, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210982751758221 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_CullTransparentMesh: 1 ---- !u!114 &7454210982751758222 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210982751758223 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210982751757937} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210982751758222} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 2090336616946191105} - m_TargetAssemblyTypeName: UnityWebBrowser.WebBrowserUIControls, UnityWebBrowser - m_MethodName: SubmitInput - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983125624615 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983125624614} - - component: {fileID: 7454210983125624612} - - component: {fileID: 7454210983125624613} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983125624614 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983125624615} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210982751757936} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983125624612 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983125624615} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983125624613 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983125624615} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 0874442780342f04e8b249e9e10636d2, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7454210983313359674 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983313359673} - - component: {fileID: 7454210983313359670} - - component: {fileID: 7454210983313359671} - - component: {fileID: 7454210983313359672} - m_Layer: 5 - m_Name: RefreshBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983313359673 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984369384061} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 110.3999, y: -21} - m_SizeDelta: {x: 42.5835, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983313359670 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983313359671 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210983313359672 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983313359674} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210983313359671} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 906994673} - m_TargetAssemblyTypeName: UnityWebBrowser.Core.BaseUwbClientManager, UnityWebBrowser - m_MethodName: Refresh - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983333951894 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983333951893} - - component: {fileID: 7454210983333951890} - - component: {fileID: 7454210983333951891} - - component: {fileID: 7454210983333951892} - m_Layer: 5 - m_Name: BackBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983333951893 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984661012674} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21.291748, y: -21} - m_SizeDelta: {x: 42.5835, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983333951890 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983333951891 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210983333951892 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983333951894} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210983333951891} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 906994673} - m_TargetAssemblyTypeName: UnityWebBrowser.Core.BaseUwbClientManager, UnityWebBrowser - m_MethodName: GoBack - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983584133262 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983584133261} - - component: {fileID: 7454210983584133260} - m_Layer: 5 - m_Name: WebBrowser - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983584133261 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983584133262} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984040730585} - - {fileID: 7454210983829796802} - m_Father: {fileID: 7454210984458747694} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983584133260 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983584133262} - m_CullTransparentMesh: 1 ---- !u!1 &7454210983610425331 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983610425330} - - component: {fileID: 7454210983610425103} - - component: {fileID: 7454210983610425328} - - component: {fileID: 7454210983610425329} - m_Layer: 5 - m_Name: ForwardBtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983610425330 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210984443129169} - m_Father: {fileID: 7454210983829796802} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 66.1001, y: -21} - m_SizeDelta: {x: 42.5835, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983610425103 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_CullTransparentMesh: 1 ---- !u!114 &7454210983610425328 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7454210983610425329 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983610425331} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 7454210983610425328} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 906994673} - m_TargetAssemblyTypeName: UnityWebBrowser.Core.BaseUwbClientManager, UnityWebBrowser - m_MethodName: GoForward - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!1 &7454210983829796803 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210983829796802} - - component: {fileID: 7454210983829796801} - m_Layer: 5 - m_Name: Navigation - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210983829796802 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983829796803} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210983333951893} - - {fileID: 7454210983610425330} - - {fileID: 7454210983313359673} - - {fileID: 5127757420656167999} - - {fileID: 7454210982751757936} - m_Father: {fileID: 7454210983584133261} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -21} - m_SizeDelta: {x: 0, y: 42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210983829796801 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210983829796803} - m_CullTransparentMesh: 1 ---- !u!1 &7454210984040730586 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984040730585} - - component: {fileID: 7454210984040730583} - - component: {fileID: 7454210984040730584} - - component: {fileID: 906994673} - - component: {fileID: 2090336616946191105} - m_Layer: 5 - m_Name: BrowserController - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984040730585 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983584133261} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -21} - m_SizeDelta: {x: 0, y: -42} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984040730583 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984040730584 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Texture: {fileID: 0} - m_UVRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 ---- !u!114 &906994673 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 53d0570114d34f649962da70092c0cea, type: 3} - m_Name: - m_EditorClassIdentifier: - browserClient: - engine: {fileID: 11400000, guid: 649ce3cfdf00ca615abcf2bb62227f5c, type: 2} - initialUrl: https://voltstro.dev - resolution: - Width: 1920 - Height: 1038 - backgroundColor: - serializedVersion: 2 - rgba: 4294967295 - javascript: 1 - cache: 1 - webRtc: 0 - localStorage: 1 - popupAction: 0 - proxySettings: - Username: - Password: - ProxyServer: 0 - remoteDebugging: 0 - remoteDebuggingPort: 9022 - communicationLayer: {fileID: 11400000, guid: 05fef73d64ae908d1b4ec02a676d1ccc, type: 2} - engineStartupTimeout: 7000 - logSeverity: 1 - inputHandler: {fileID: 11400000, guid: 776a2236bf720e5cbb6ca38016918dd0, type: 2} - disableMouseInputs: 0 - disableKeyboardInputs: 0 ---- !u!114 &2090336616946191105 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984040730586} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5e1241a22316dc94cafbc1d7823e4516, type: 3} - m_Name: - m_EditorClassIdentifier: - inputField: {fileID: 3784142199285309107} ---- !u!1 &7454210984369384062 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984369384061} - - component: {fileID: 7454210984369384059} - - component: {fileID: 7454210984369384060} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984369384061 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984369384062} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983313359673} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984369384059 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984369384062} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984369384060 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984369384062} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: aa3c986a43c22084590db2dcc76fdc42, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7454210984443129170 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984443129169} - - component: {fileID: 7454210984443129199} - - component: {fileID: 7454210984443129168} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984443129169 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984443129170} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983610425330} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984443129199 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984443129170} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984443129168 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984443129170} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 141a7ffeedfaaa14d81c3aec08c6aed9, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7454210984458747666 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984458747694} - - component: {fileID: 7454210984458747695} - - component: {fileID: 7454210984458747664} - - component: {fileID: 7454210984458747665} - m_Layer: 5 - m_Name: UnityWebBrowser - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984458747694 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7454210983584133261} - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!223 &7454210984458747695 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 1 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 25 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!114 &7454210984458747664 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 1920, y: 1080} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!114 &7454210984458747665 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984458747666} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!1 &7454210984661012675 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7454210984661012674} - - component: {fileID: 7454210984661012672} - - component: {fileID: 7454210984661012673} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7454210984661012674 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984661012675} - m_LocalRotation: {x: 0, y: 0, z: 1, w: 0} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7454210983333951893} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 1.3000488} - m_SizeDelta: {x: -13.3125, y: -13.3125} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7454210984661012672 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984661012675} - m_CullTransparentMesh: 1 ---- !u!114 &7454210984661012673 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7454210984661012675} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 141a7ffeedfaaa14d81c3aec08c6aed9, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser.prefab.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser.prefab.meta deleted file mode 100644 index 9167ae91c..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Basic/Prefabs/UnityWebBrowser.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: eb44fadbfd943194e85df7faf3a9dc5b -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Runtime/Scripts.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Runtime/Scripts.meta deleted file mode 100644 index 0c6f57ace..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Runtime/Scripts.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5b25dfc4c6a70e24fb38833255c4acc1 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Runtime/Scripts/UWBRuntime.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Runtime/Scripts/UWBRuntime.cs deleted file mode 100644 index b460cf80b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Samples~/Runtime/Scripts/UWBRuntime.cs +++ /dev/null @@ -1,103 +0,0 @@ -#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN)) - -// UnityWebBrowser (UWB) -// Copyright (c) 2021-2024 Voltstro-Studios -// -// This project is under the MIT license. See the LICENSE.md file for more details. - -using UnityEngine; -using UnityEngine.UI; -using VoltstroStudios.UnityWebBrowser.Communication; -using VoltstroStudios.UnityWebBrowser.Core.Engines; -using VoltstroStudios.UnityWebBrowser.Input; -using VoltstroStudios.UnityWebBrowser.Shared.Core; - -namespace VoltstroStudios.UnityWebBrowser.Prj -{ - /// - /// Demo script for creating UWB at runtime - /// - public sealed class UWBRuntime : MonoBehaviour - { - /// - /// to create everything on - /// - [SerializeField] - private GameObject container; - - [SerializeField] - private Camera mainCamera; - - private void Start() - { - //Create canvas - Canvas canvas = container.AddComponent(); - canvas.renderMode = RenderMode.ScreenSpaceCamera; - canvas.worldCamera = mainCamera; - - CanvasScaler canvasScaler = container.AddComponent(); - canvasScaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize; - canvasScaler.referenceResolution = new Vector2(1920, 1080); - canvasScaler.screenMatchMode = CanvasScaler.ScreenMatchMode.MatchWidthOrHeight; - canvasScaler.matchWidthOrHeight = 0; - - container.AddComponent(); - - //Child object, where raw image and UWB itself will live - GameObject uwbGameObject = new("UWBContainer"); - uwbGameObject.transform.SetParent(container.transform); - - //Configure rect transform - RectTransform uwbRectTransform = uwbGameObject.AddComponent(); - uwbRectTransform.anchorMin = Vector2.zero; - uwbRectTransform.anchorMax = Vector2.one; - uwbRectTransform.pivot = new Vector2(0.5f, 0.5f); - uwbRectTransform.localScale = Vector3.one; - uwbRectTransform.offsetMin = Vector2.zero; - uwbRectTransform.offsetMax = Vector2.zero; - - //Add raw image - uwbGameObject.AddComponent(); - - //UWB Pre-Setup - - //Create engine dynamically - EngineConfiguration engineConfig = ScriptableObject.CreateInstance(); - engineConfig.engineAppName = "UnityWebBrowser.Engine.Cef"; - -#if UNITY_EDITOR - engineConfig.engineFiles = new[] { - new Engine.EnginePlatformFiles - { - platform = Platform.Windows64, - engineBaseAppLocation = string.Empty, - engineEditorLocation = "Packages/dev.voltstro.unitywebbrowser.engine.cef.win.x64/Engine~/", - engineRuntimeLocation = "UWB/" - }, - new Engine.EnginePlatformFiles - { - platform = Platform.Linux64, - engineBaseAppLocation = string.Empty, - engineEditorLocation = "Packages/dev.voltstro.unitywebbrowser.engine.cef.linux.x64/Engine~/", - engineRuntimeLocation = "UWB/" - } - }; -#endif - - //Create coms layer dynamically - CommunicationLayer comsLayer = ScriptableObject.CreateInstance(); - - //Create input handler dynamically - WebBrowserInputHandler inputHandler = ScriptableObject.CreateInstance(); - - //UWB Object Setup - WebBrowserUIBasic webBrowser = uwbGameObject.AddComponent(); - webBrowser.browserClient.engine = engineConfig; - webBrowser.browserClient.communicationLayer = comsLayer; - webBrowser.inputHandler = inputHandler; - } - } -} - - -#endif \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/package.json deleted file mode 100644 index 84fcb828a..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "dev.voltstro.unitywebbrowser", - "displayName": "Unity Web Browser", - "description": "Unity Web Browser (UWB) is a Unity package that allows displaying and interacting with the web from within Unity.", - "version": "2.2.5", - "unity": "2021.3", - "author": { - "name": "Voltstro", - "email": "me@voltstro.dev", - "url": "https://voltstro.dev" - }, - "repository": { - "type": "git", - "url": "https://github.com/Voltstro-Studios/UnityWebBrowser.git" - }, - "hideInEditor": false, - "changelogUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/changelog/", - "documentationUrl": "https://projects.voltstro.dev/UnityWebBrowser/latest/", - "licensesUrl": "https://github.com/Voltstro-Studios/UnityWebBrowser/blob/master/LICENSE.md", - "dependencies": { - "dev.voltstro.nativearrayspanextensions": "1.0.1", - "com.unity.nuget.newtonsoft-json": "3.2.1", - "com.cysharp.unitask": "2.5.10", - "org.nuget.voltrpc": "3.2.1" - }, - "samples": [ - { - "displayName": "Basic", - "description": "Basic set of prefabs for UWB.", - "path": "Samples~/Basic" - }, - { - "displayName": "Runtime Example", - "description": "Basic script example of creating everything for UWB at runtime dynamically", - "path": "Samples~/Runtime" - } - ] -} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/package.json.meta deleted file mode 100644 index af3c26bf7..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 74e6fd8bd9683794ab0494413de151cb -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1.meta deleted file mode 100644 index d0e4025cb..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c389a8e6bdae20b4c93ea17f258ec114 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/License.md b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/License.md deleted file mode 100644 index 50f94e160..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/License.md +++ /dev/null @@ -1,18 +0,0 @@ -MIT License -SPDX identifier -MIT -License text -MIT License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -SPDX web page -https://spdx.org/licenses/MIT.html - -Notice -This license content is provided by the SPDX project. For more information about licenses.nuget.org, see our documentation. -Data pulled from spdx/license-list-data on February 9, 2023. - diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/License.md.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/License.md.meta deleted file mode 100644 index 3a321617b..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/License.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b79a2e7f88be4704fa4ef01739b92410 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll deleted file mode 100644 index b26562d91..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f306a9a4af5d57a00c49ef775cd7a960050a16115654799e50f861cb57ca31d4 -size 49664 diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta deleted file mode 100644 index 5ad7fb33e..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 5e08ee04befc91449a3d25eb0a0060a9 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: - - UNITY_2021_2_OR_NEWER - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - : Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 0 - Exclude Linux64: 0 - Exclude OSXUniversal: 0 - Exclude WebGL: 1 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 1 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 1 - settings: - CPU: x86_64 - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CPU: AnyCPU - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.xml b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.xml deleted file mode 100644 index 6c1cc4325..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.xml +++ /dev/null @@ -1,1546 +0,0 @@ - - - - VoltRpc - - - - - An related to when an action is attempted to be done that cannot be done while the - is already connected - - - - - An related to when an action is attempted to be done that cannot be done while the - is already running - - - - - The is what is used to send messages to a - - This base has no implementation of actually connecting, a "communication layer" - needs to be used, such as the communication layer - - - In most normal cases, you will only have to use the generated proxy layer to interact with - the - - - - - - The default size of the buffers - - - - - All added services - - - - - Version this client wants to be - - - - - Creates a new instance - - The initial size of the buffers - Will throw if the buffer size is less then 16 - - - - The for - - - - - Is the connected - - - - - Connects the to a host - - - - - Tells the what interfaces you might be using - - The same interface that you are using on the server - Thrown if T's is null - Thrown if T is not an interface, or has already been added as a service. - - - - Tells the what interfaces you might be using - - Thrown if interfaceType's is null - - Thrown if interfaceType is not an interface, or has already been added as - a service. - - Thrown if we are already connected - - - - Sets what protocol version to use. - Set value to null to reset back to none. - - Value can be any object you want, as long as the has a for it. - Thrown if the is already connected to a - Thrown if the doesn't have a for the value . - - - - Initialize streams - - The to read from - The to write to - Thrown if either provided stream is null - Thrown if we can't read or write to the respected streams - - - - Initialize streams - - The that will be read from - The that will be written to - Thrown if either provided buffers is null - - - - Invokes a method on the server - - The full method name - All parameters to be passed to the method - Thrown if the client is not connected to a host - - Thrown if the method name doesn't exist on either the client or host - - - Thrown if the return type or parameter types doesn't have a - - - Thrown if the type reader/writer fails on the host - - - Thrown if an occurs while invoking a method on the host - - - - - Writes the parameters - - - - - - - - Does a sync check against the host - - - - - Handles a - - - - - - Has this object been disposed - - - - - Checks the disposal state on this object - - - - - - Deconstructor for . - - Tells the server that we have disconnected and releases resources if it hasn't been done by - already. - - - - - - Destroys the instance - - - - - An related to when the connection fails to connect - - - - - Creates a new instance - - - - - - Creates a new instance - - - - - - - The is what receives and responds to a 's requests - - This base has no actual implementation of handling connections, - a "communication layer" needs to be used for that, such as - - - - - - The default size of the buffers - - - - - This size of the buffer - - - - - Logger - - - - - All the added services - - - - - Version this host wants to be - - - - - Creates a new instance - - The to use - The initial size of the buffers - Will throw if the buffer size is less then 16 - - - - The for - - - - - Count of number of connections - - - - - What is the maximum amount of connections - - Thrown if value is 0 or less - - - - Is the running? - - - - - Hides the stacktrace from the client when an is thrown - - - - - User set protocol info - - - - - Starts listening for incoming requests - - - - - Starts listening for incoming requests - - - - - Adds a service to this - - The service to add - The service type - Thrown if the service has already been added - Thrown if T is not an interface - - - - Adds a service to this - - The of a service - The actual service itself - Thrown if the service has already been added - Thrown if serviceType is not an interface - - - - Sets what protocol version to use. - Set value to null to reset back to none. - - Value can be any object you want, as long as the has a for it. - Thrown if the is already running - Thrown if the doesn't have a for the value . - - - - Processes a request from a client - - This override will automatically create the and for - you - then call . - This is the preferred process request method to call. - - - The to read from - The to write to - Thrown if either provide stream is null - Thrown if we can't read or write to the respected stream - - - - Processes a request from a client - - You should only call this if you need to provide a custom and/or - . - For example you are using a that needs . - - - The to read from - The to write to - Thrown if either buffer is null - - - - Process a sync check message - - - - Returns true if sync message was good - - - - Checks if the object has been disposed - - - - - - Has this object been disposed - - - - - Destroys the instance - - - - - A response from a message - - - - - The method wasn't found - - - - - The method was executed successfully - - - - - The method failed while being invoked - - - - - Sync was all good mate! - - - - - Response when version info is a miss-match - - - - - The existence of a protocol are miss-matched - - - - - The of the protocol value doesn't match - - - - - The value of the protocol don't match - - - - - Some miss-match with services - - - - - The method failed to execute due to a missing type reader/writer - - - - - The type reader/writer failed for some reason - - - - - What type of message is this? - - - - - Invoke a message - - - - - Shutdown the connection - - - - - An related to when a method fails on the host - - - - - Creates a new instance - - - - - - - Creates a new instance - - - - - - - - - - - - An related to when a method is attempted to be called, - but the has not connected yet - - - - - Create new - - - - - - An related to a protocol sync error - - This could be due to the set protocol being different between the and - , either from different or different - values - - - - - - An related to an error with syncing - - The is thrown when the interfaces that the - and use have differences - - - - - - A that uses TCP to communicate - - - - - Default receive timeout time - - - - - Default send timeout time - - - - - Default connection timeout time - - - - - Creates a new instance - - The to connect to - The size of the buffers - The timeout time for connection - The receive timeout - The send timeout - - - - Creates a new instance - - The to connect to - The receive timeout - The send timeout - - - - Creates a new instance - - The to connect to - The timeout time for connection - - - - Creates a new instance - - The to connect to - - - - Thrown if a connection timeout occurs - Thrown if an unknown error occurs while connecting. - - - - - - - A that uses TCP to communicate - - - - - Default receive timeout time - - - - - Default send timeout time - - - - - Creates a new instance - - The to listen on - The to use. Will default to if null - The initial size of the buffers - How long until timeout from receiving - How long until timeout from sending - Will throw if the buffer size is less then 16 - - - - Creates a new instance - - The to listen on - The initial size of the buffers - How long until timeout from receiving - How long until timeout from sending - - - - Creates a new instance - - The to listen on - The to use. Will default to if null - How long until timeout from receiving - How long until timeout from sending - - - - Creates a new instance - - The to listen on - How long until timeout from receiving - How long until timeout from sending - - - - Creates a new instance - - The to listen on - The to use. Will default to if null - - - - - - - - - - A buffered reader for a - - - - - The incoming - - - - - Internal access to the underlining for s - - - - - Internal access to the underlining buffer - - - - - Current read length of the underlining - - - - - Creates a new instance - - - - - - - The current position of the buffer - - - - - The length of the buffer - - - - - You may need to override this if your requires it - - - - - You may need to override this if your requires it - - - - - Reads a blittable type - - - - - - - - Reads a - - - - - - - Reads an array of s as an - - - - - - - - Reads a - - - - - - - Reads more of the underlining - - - - - - Has this object been disposed - - - - - Checks the disposal state on this object - - - - - - Destructor for this object - - - - - Disposes of this instance - This method SHOULD NOT be used! VoltRpc will dispose of this object when it is done with it! - NOTE: This disposal method will NOT call on the underlying - - - - - Read methods for - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads a - - - - - - Reads from and returns a slice of the buffer - - - - - - - - Reads from and returns a copy of it - This method does allocate - - - - - - - - Reads a , but is using instead - - - - - - - - Reads a - - - - - Reads a - - - - - Reads a - - - - - Reads a - - - - - Reads a - - - - - Reads a - - - - - Reads a - - - - - A buffered writer for a - - - - - Max length for a - - - - - Output - - - - - Internal access to the underlining for s - - - - - Internal access to the underlining buffer - - - - - Creates a new instance - - - - - - - The current position of the buffer - - - - - The length of the buffer - - - - - You may need to override this if your requires it - - - - - Reset position - - - - - Writes a - - The value to write - - - - Writes an array of s - - - - - - - - Writes a - - - - - - - Writes the buffer to the out - - - - - Ensures the buffer's capacity is large enough to write the size - - - - - - Has this object been disposed - - - - - Checks the disposal state on this object - - - - - - Destructor for this object - - - - - Disposes of this instance - This method SHOULD NOT be used! VoltRpc will dispose of this object when it is done with it! - NOTE: This disposal method will NOT call on the underlying - - - - - Provides extensions for - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a to a - - - - - - - Writes a to a - - - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Writes a - - - - - Provides utils that are shared with IO stuff - - - - - Creates a byte array designed for buffers - - - - - - - Logger for - - - - - Creates a new instance - - - - - - - - - - - - - - - - - - - - - Provides an interface for logging - - - - - Logging level - - - - - Log a debug message - - - - - - Log a info message - - - - - - Log a waring message - - - - - - Log a error message - - - - - - What level to log at - - - - - Debug level - - - - - Info level - - - - - Warning level - - - - - Error level - - - - - Null - - - - - - - - - - - - - - - - - - - - Marks an interface to have a proxy generated for - - - - - Creates a new instance - - - - - What name to use for the generated proxy. - - By default, the generated proxy name will be {Interface Name}_GeneratedProxy. - - - - - - What namespace to use for the generated proxy. - - By default, the generated proxy namespace will be VoltRpc.Proxy.Generated. - - - - - - Forces the generated proxy to be public - - By default, the generated proxy visibility will be the same as the interfaces - - - - - - Interface for reading and writing a - - - - - Write the type - - - - - - - - Read the type - - - - - - - Exception when there is no type reader/writer available - - - - - related to something with a type reader writer - - - - - Creates a new instance - - - - - - - Creates a new instance - - - - - - - - - - - - Manger for s - - - - - Default to be added - - - - - Creates a new instance - - - - - Adds a - - If the has already been added, it will be overriden - - - The to add - The base to add - - - - Adds a - - If the has already been added, it will be overriden - - - The to add - The for - Thrown if the type is an array, and the base type is null. - - - - Adds a - - If the has already been added, it will be overriden - - - The full name to add - The for - - - - Gets a - - The full name - Will return null if hasn't been added for - - - - Gets a - - The to get - Will return null if hasn't been added for - - - - Gets a - - The to get - Will return null if hasn't been added for - - - - for a - - - - - - - - - - - for a - - - - - - - - - - - for a - - - - - - - - - - - for a - - - - - - - - - - - for a - - - - - - - - - - - for a - - - - - - - - - - - for a - - - - - - - - - - - Interface for reading and writing a type. - should read exactly how it is written to the in . - - The to read and write - - - - Called when the type needs to be written - - The to write to - The value that needs to be written to the - - - - Called when the type needs to be read - - The to read from - Return the read value from the - - - - Helper methods for s - - - - - Gets a 's full name - - The to get the full name from - Returns the fullname of the - Throw if provided type is null - Thrown if type is an array, but it's item type is null! - - - - Gets a base, then it's name - - - - - - - - Gets the absolute base of a . - Checks if refs and arrays - - - - - - - - Contains information the VoltRpc needs on a - - - - - Creates a new - - - - - - - The base - - - - - The fullname of the - - - - - Is this an array? - - - - - Contains version info on the VoltRpc library - - - - - Current about VoltRpc - - - - - Info on the VoltRpc version - - - - - Major version number - - - - - Minor version number - - - - - Patch version number - - - - - related to when there is a version miss-match between - the and - - - - - What the excepted version was - - - - diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.xml.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.xml.meta deleted file mode 100644 index ec4fc4b24..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1a02d6fd4d89ac24a867fe8fb5965dcb -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/package.json b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/package.json deleted file mode 100644 index be6dffdd0..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"org.nuget.voltrpc","displayName":"VoltRpc (NuGet)","version":"3.2.1","unity":"2019.1","description":"VoltRpc - A RPC library designed to be simple to use and fast.","keywords":["nuget","IPC","RPC","TCP","Pipes","Named-Pipes","rpc-library","interprocess-communication","dotnet","csharp"],"category":null,"dependencies":{}} \ No newline at end of file diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/package.json.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/package.json.meta deleted file mode 100644 index 9afdb1be9..000000000 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 86b039e75cfcc884bb7acb36734edc30 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: