File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/Packages/Passport/Samples~/sample Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ public class SelectAuthMethodScript : MonoBehaviour
16
16
17
17
void Start ( )
18
18
{
19
+ // Determine if PKCE is supported based on the platform
20
+ SampleAppManager . SupportsPKCE = IsPKCESupported ( ) ;
21
+
19
22
// WebGL does not support Device Code Auth, so we'll use PKCE by default instead.
20
23
#if UNITY_WEBGL
21
24
UsePKCE ( ) ;
22
25
#else
23
- // Determine if PKCE is supported based on the platform
24
- SampleAppManager . SupportsPKCE = IsPKCESupported ( ) ;
25
-
26
26
// If PKCE is not supported, initialise Passport to use Device Code Auth
27
27
if ( ! SampleAppManager . SupportsPKCE )
28
28
{
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ MonoBehaviour:
50
50
m_IsDefault : 0
51
51
m_Capabilities : 0
52
52
m_ConfigSource : 4
53
- m_UserSelectedRegistryName : npmjs
53
+ m_UserSelectedRegistryName : Open UPM Packages
54
54
m_UserAddingNewScopedRegistry : 0
55
55
m_RegistryInfoDraft :
56
56
m_Modified : 0
Original file line number Diff line number Diff line change @@ -502,6 +502,9 @@ PlayerSettings:
502
502
- m_BuildTarget : WindowsStandaloneSupport
503
503
m_APIs : 02000000
504
504
m_Automatic : 1
505
+ - m_BuildTarget : WebGLSupport
506
+ m_APIs : 080000000b000000
507
+ m_Automatic : 1
505
508
m_BuildTargetVRSettings : []
506
509
m_DefaultShaderChunkSizeInMB : 16
507
510
m_DefaultShaderChunkCount : 0
@@ -762,7 +765,7 @@ PlayerSettings:
762
765
webGLTemplate : PROJECT:unity-webview
763
766
webGLAnalyzeBuildSize : 0
764
767
webGLUseEmbeddedResources : 0
765
- webGLCompressionFormat : 0
768
+ webGLCompressionFormat : 2
766
769
webGLWasmArithmeticExceptions : 0
767
770
webGLLinkerTarget : 1
768
771
webGLThreadsSupport : 0
You can’t perform that action at this time.
0 commit comments