File tree 4 files changed +12
-9
lines changed
src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/Runtime
4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change
1
+ #if UNITY_STANDALONE_WIN || ( UNITY_ANDROID && UNITY_EDITOR_WIN ) || ( UNITY_IPHONE && UNITY_EDITOR_WIN )
2
+
1
3
// UnityWebBrowser (UWB)
2
4
// Copyright (c) 2021-2024 Voltstro-Studios
3
5
//
@@ -27,11 +29,7 @@ internal sealed class EngineProcess : IDisposable
27
29
/// <param name="logger"></param>
28
30
public EngineProcess ( Engine engine , IWebBrowserLogger logger )
29
31
{
30
- #if UNITY_STANDALONE_WIN
31
32
processHandle = new WindowProcess ( ) ;
32
- #elif UNITY_STANDALONE_LINUX
33
- processHandle = new LinuxProcess ( logger ) ;
34
- #endif
35
33
36
34
this . engine = engine ;
37
35
this . logger = logger ;
@@ -77,4 +75,6 @@ public void Dispose()
77
75
processHandle . Dispose ( ) ;
78
76
}
79
77
}
80
- }
78
+ }
79
+
80
+ #endif
Original file line number Diff line number Diff line change
1
+ #if UNITY_STANDALONE_WIN || ( UNITY_ANDROID && UNITY_EDITOR_WIN ) || ( UNITY_IPHONE && UNITY_EDITOR_WIN )
2
+
1
3
// UnityWebBrowser (UWB)
2
4
// Copyright (c) 2021-2024 Voltstro-Studios
3
5
//
@@ -18,4 +20,6 @@ internal interface IProcess : IDisposable
18
20
19
21
public int ExitCode { get ; }
20
22
}
21
- }
23
+ }
24
+
25
+ #endif
Original file line number Diff line number Diff line change
1
+ #if UNITY_STANDALONE_WIN || ( UNITY_ANDROID && UNITY_EDITOR_WIN ) || ( UNITY_IPHONE && UNITY_EDITOR_WIN )
2
+
1
3
// UnityWebBrowser (UWB)
2
4
// Copyright (c) 2021-2024 Voltstro-Studios
3
5
//
4
6
// This project is under the MIT license. See the LICENSE.md file for more details.
5
7
6
- #if UNITY_STANDALONE_WIN
7
-
8
8
using System ;
9
9
using System . ComponentModel ;
10
10
using System . Diagnostics ;
Original file line number Diff line number Diff line change 3
3
"rootNamespace": "VoltstroStudios.UnityWebBrowser",
4
4
"references": [
5
5
"UniTask",
6
- "Unity.InputSystem",
7
6
"Immutable.Browser.Core"
8
7
],
9
8
"includePlatforms": [
You can’t perform that action at this time.
0 commit comments