File tree Expand file tree Collapse file tree 9 files changed +16
-19
lines changed Expand file tree Collapse file tree 9 files changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ MonoBehaviour:
19
19
- {fileID: 11400000, guid: 9977a581037b84833a32b508e00eb1a2, type: 2}
20
20
- {fileID: 11400000, guid: 56f316e0e10ba419bbf19bd7a68bfc4c, type: 2}
21
21
- {fileID: 11400000, guid: 6f0972f5fdc56c543b23c9873d760bf5, type: 2}
22
- - {fileID: 11400000, guid: 7ef06699cee7846b7823e4cc421418eb, type: 2}
23
22
- {fileID: 11400000, guid: a461b8cd70d9e4e23ad1cc953bec31e9, type: 2}
23
+ - {fileID: 11400000, guid: 7ef06699cee7846b7823e4cc421418eb, type: 2}
24
24
- {fileID: 11400000, guid: 55de20d536f8c4689bbd80553d87fe46, type: 2}
25
25
- {fileID: 11400000, guid: f2c56d751bb7c4c398db7c1db352517d, type: 2}
26
26
- {fileID: 11400000, guid: b4a6196f623dd4435a4f3bd70af92d06, type: 2}
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections ;
3
- using System . Collections . Generic ;
4
3
using UnityEngine ;
5
- using UnityEngine . Audio ;
6
4
using UnityEngine . Networking ;
7
- using UnityEngine . Networking ;
8
- using UnityEngine . UI ;
9
5
using WeChatWASM ;
10
6
11
7
public class AdWithAudio : Details
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ MonoBehaviour:
15
15
categoryName : " \u8BBE\u5907 "
16
16
categorySprite : {fileID: 21300000, guid: fcbb6947b033746dabecaec0f84b0434, type: 3}
17
17
entryList :
18
- - {fileID: 11400000, guid: a24af43ae51914d26b0bf637c283dab2, type: 2}
19
- - {fileID: 11400000, guid: 4eba2c9f2f2064e4081be74302ca4c33, type: 2}
20
18
- {fileID: 11400000, guid: bbbc9b983d6d34ad3bac2921509f612f, type: 2}
21
19
- {fileID: 11400000, guid: c17ae0ce755f04419b700825b20fd386, type: 2}
20
+ - {fileID: 11400000, guid: a24af43ae51914d26b0bf637c283dab2, type: 2}
21
+ - {fileID: 11400000, guid: 4eba2c9f2f2064e4081be74302ca4c33, type: 2}
22
22
- {fileID: 11400000, guid: ac09abff5d8bc48bbabd08bde820b58b, type: 2}
23
23
- {fileID: 11400000, guid: 3bf339b994c544db3860ddf0a0dc8e20, type: 2}
24
24
- {fileID: 11400000, guid: e92d94924be504167a342e42e1162f21, type: 2}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class Screen : Details
10
10
private bool _isListening1 = false ;
11
11
private System . Random random = new System . Random ( ) ;
12
12
13
- private readonly Action < GeneralCallbackResult > _onUserCaptureScreen = ( res ) =>
13
+ private readonly Action < OnUserCaptureScreenListenerResult > _onUserCaptureScreen = ( res ) =>
14
14
{
15
15
WX . ShowToast ( new ShowToastOption { title = "截屏触发" } ) ;
16
16
var result = "_onUserCaptureScreen\n " + JsonMapper . ToJson ( res ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ MonoBehaviour:
24
24
- {fileID: 11400000, guid: 65ab1b01a722b4542a14fcf9decca3de, type: 2}
25
25
- {fileID: 11400000, guid: 19b80cb144f0c4ea28a4ddca7a2c2f09, type: 2}
26
26
- {fileID: 11400000, guid: 0aa5d76237c844275add1612c47bddaa, type: 2}
27
- - {fileID: 11400000, guid: 65a826f5f949544d8990e673231bb80f, type: 2}
28
27
- {fileID: 11400000, guid: 73c05fc1ffae94ec1b69a00ee261d529, type: 2}
28
+ - {fileID: 11400000, guid: 65a826f5f949544d8990e673231bb80f, type: 2}
29
29
- {fileID: 11400000, guid: 3a901e80b59ad4aafbe373ee6a8df2d8, type: 2}
30
30
- {fileID: 11400000, guid: e7ea0be62dc6543b0a8dc629489c5e7e, type: 2}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ IEnumerator Get()
42
42
43
43
yield return webRequest . SendWebRequest ( ) ;
44
44
45
- if ( webRequest . isHttpError || webRequest . isNetworkError )
45
+ if ( webRequest . result is UnityWebRequest . Result . ProtocolError or UnityWebRequest . Result . ConnectionError )
46
46
Debug . Log ( webRequest . error ) ;
47
47
else
48
48
{
@@ -62,7 +62,7 @@ IEnumerator Post()
62
62
63
63
yield return webRequest . SendWebRequest ( ) ;
64
64
65
- if ( webRequest . isHttpError || webRequest . isNetworkError )
65
+ if ( webRequest . result is UnityWebRequest . Result . ProtocolError or UnityWebRequest . Result . ConnectionError )
66
66
Debug . Log ( webRequest . error ) ;
67
67
else
68
68
{
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ private void getGameClubData()
82
82
WX . GetGameClubData ( option ) ;
83
83
}
84
84
85
- private bool _isGameClubShow = false ;
85
+ // private bool _isGameClubShow = false;
86
86
87
87
// 切换游戏圈按钮显示/隐藏
88
88
private void GameClubButtonSwitch ( )
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ protected override void TestAPI(string[] args)
89
89
) ;
90
90
}
91
91
92
- private bool _isFeedbackShow = true ;
92
+ // private bool _isFeedbackShow = true;
93
93
94
94
// 切换意见反馈按钮显示/隐藏
95
95
private void FeedbackButtonSwitch ( )
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ MonoBehaviour:
13
13
m_Name : MiniGameConfig
14
14
m_EditorClassIdentifier :
15
15
ProjectConf :
16
- projectName : NetworkDemo
17
- Appid : wxb7d4485dbc1233ca
16
+ projectName :
17
+ Appid :
18
18
CDN : http://127.0.0.1:8080
19
19
assetLoadType : 0
20
20
compressDataPackage : 0
21
21
VideoUrl :
22
- DST : C:/Users/xiaoyuejin/Desktop/Network
22
+ DST :
23
23
StreamCDN :
24
24
bundleHashLength : 32
25
25
bundlePathIdentifier : StreamingAssets;
@@ -46,7 +46,7 @@ MonoBehaviour:
46
46
UseMiniGameChat : 0
47
47
PreloadWXFont : 0
48
48
CompileOptions :
49
- DevelopBuild : 0
49
+ DevelopBuild : 1
50
50
AutoProfile : 0
51
51
ScriptOnly : 0
52
52
Il2CppOptimizeSize : 1
@@ -57,12 +57,13 @@ MonoBehaviour:
57
57
ProfilingMemory : 0
58
58
CleanBuild : 0
59
59
CustomNodePath :
60
- showMonitorSuggestModal : 1
60
+ autoAdaptScreen : 0
61
+ showMonitorSuggestModal : 0
61
62
enableProfileStats : 0
62
63
enableRenderAnalysis : 0
63
64
iOSAutoGCInterval : 10000
64
65
enableIOSPerformancePlus : 0
65
- brotliMT : 1
66
+ brotliMT : 0
66
67
CompressTexture :
67
68
halfSize : 0
68
69
useDXT5 : 0
You can’t perform that action at this time.
0 commit comments