File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Services/Assistant/v2/Models Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -527,6 +527,8 @@ private IEnumerator ProcessRequestQueue()
527
527
528
528
unityWebRequest . downloadHandler = new DownloadHandlerBuffer ( ) ;
529
529
530
+ #if NET_4_6
531
+
530
532
if ( req . DisableSslVerification )
531
533
{
532
534
unityWebRequest . certificateHandler = new AcceptAllCertificates ( ) ;
@@ -535,7 +537,7 @@ private IEnumerator ProcessRequestQueue()
535
537
{
536
538
unityWebRequest . certificateHandler = null ;
537
539
}
538
-
540
+ #endif
539
541
#if UNITY_2017_2_OR_NEWER
540
542
unityWebRequest . SendWebRequest ( ) ;
541
543
#else
@@ -661,11 +663,13 @@ private IEnumerator ProcessRequestQueue()
661
663
#endregion
662
664
}
663
665
666
+ #if NET_4_6
664
667
class AcceptAllCertificates : CertificateHandler
665
668
{
666
669
protected override bool ValidateCertificate ( byte [ ] certificateData )
667
670
{
668
671
return true ;
669
672
}
670
673
}
674
+ #endif
671
675
}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public class MessageOutput
56
56
/// Arbitrary variables that can be read and written to by a particular skill within the Assistant.
57
57
/// </summary>
58
58
[ fsProperty ( "user_defined" ) ]
59
- public dynamic UserDefined { get ; set ; }
59
+ public object UserDefined { get ; set ; }
60
60
}
61
61
62
62
}
You can’t perform that action at this time.
0 commit comments