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
1616
1717 void Start ( )
1818 {
19+ // Determine if PKCE is supported based on the platform
20+ SampleAppManager . SupportsPKCE = IsPKCESupported ( ) ;
21+
1922 // WebGL does not support Device Code Auth, so we'll use PKCE by default instead.
2023#if UNITY_WEBGL
2124 UsePKCE ( ) ;
2225#else
23- // Determine if PKCE is supported based on the platform
24- SampleAppManager . SupportsPKCE = IsPKCESupported ( ) ;
25-
2626 // If PKCE is not supported, initialise Passport to use Device Code Auth
2727 if ( ! SampleAppManager . SupportsPKCE )
2828 {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ MonoBehaviour:
5050 m_IsDefault : 0
5151 m_Capabilities : 0
5252 m_ConfigSource : 4
53- m_UserSelectedRegistryName : npmjs
53+ m_UserSelectedRegistryName : Open UPM Packages
5454 m_UserAddingNewScopedRegistry : 0
5555 m_RegistryInfoDraft :
5656 m_Modified : 0
Original file line number Diff line number Diff line change @@ -502,6 +502,9 @@ PlayerSettings:
502502 - m_BuildTarget : WindowsStandaloneSupport
503503 m_APIs : 02000000
504504 m_Automatic : 1
505+ - m_BuildTarget : WebGLSupport
506+ m_APIs : 080000000b000000
507+ m_Automatic : 1
505508 m_BuildTargetVRSettings : []
506509 m_DefaultShaderChunkSizeInMB : 16
507510 m_DefaultShaderChunkCount : 0
@@ -762,7 +765,7 @@ PlayerSettings:
762765 webGLTemplate : PROJECT:unity-webview
763766 webGLAnalyzeBuildSize : 0
764767 webGLUseEmbeddedResources : 0
765- webGLCompressionFormat : 0
768+ webGLCompressionFormat : 2
766769 webGLWasmArithmeticExceptions : 0
767770 webGLLinkerTarget : 1
768771 webGLThreadsSupport : 0
You can’t perform that action at this time.
0 commit comments