File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Demo/API_V2/Assets/API/Share/onShareMessage Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ public void updateShareMenu()
45
45
}
46
46
}
47
47
) ;
48
+ WX . OnShow ( ( res ) =>
49
+ {
50
+ Debug . Log ( "Scene:" + res . scene ) ;
51
+ Debug . Log ( "shareTicket:" + res . shareTicket ) ;
52
+ Debug . Log ( "chatType:" + res . chatType ) ;
53
+ } ) ;
48
54
}
49
55
public void onShareAppMessage ( )
50
56
{
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ MonoBehaviour:
14
14
m_EditorClassIdentifier :
15
15
entryScriptTypeName : onShareMessage
16
16
entryName : " \u5206\u4EAB\u8F6C\u53D1 "
17
- entryAPI : " \u8F6C\u53D1\u76F8\u5173 api \t "
18
- entryDescription : " wx. updateShareMenu\n\ u66F4\u65B0\u8F6C\u53D1\u5C5E\u6027\n wx.onShareAppMessage \ n\u88AB\u52A8\u8F6C\u53D1\uFF0C\u53EF\u901A\u8FC7\u8FD4\u56DE\u81EA\u5B9A\u4E49\u8F6C\u53D1\u53C2\u6570\u6765\u4FEE\u6539\u8F6C\u53D1\u5361\u7247\u7684\u5185\u5BB9\uFF0C\u5426\u5219\u4F7F\u7528\u9ED8\u8BA4\u5185\u5BB9\u3002\n wx.ShareAppMessage \n\u4E3B\u52A8\u62C9\u8D77\u8F6C\u53D1\uFF0C\u8FDB\u5165\u9009\u62E9\u901A\u8BAF\u5F55\u754C\u9762\u3002\n "
17
+ entryAPI : updateShareMenu | onShareAppMessage | ShareAppMessage
18
+ entryDescription : " updateShareMenu \ u66F4\u65B0\u8F6C\u53D1\u5C5E\u6027\uFF0C\u6DFB\u52A0 onShow \u83B7\u53D6 Shareticket \u3002\n onShareAppMessage \ n\u88AB\u52A8\u8F6C\u53D1\uFF0C\u53EF\u901A\u8FC7\u8FD4\u56DE\u81EA\u5B9A\u4E49\u8F6C\u53D1\u53C2\u6570\u6765\u4FEE\u6539\u8F6C\u53D1\u5361\u7247\u7684\u5185\u5BB9\uFF0C\u5426\u5219\u4F7F\u7528\u9ED8\u8BA4\u5185\u5BB9\u3002\n ShareAppMessage \n\u4E3B\u52A8\u62C9\u8D77\u8F6C\u53D1\uFF0C\u8FDB\u5165\u9009\u62E9\u901A\u8BAF\u5F55\u754C\u9762\u3002\n "
19
19
optionList : []
20
20
initialButtonText : " \u66F4\u65B0\u8F6C\u53D1\u5C5E\u6027 "
21
21
extraButtonList :
You can’t perform that action at this time.
0 commit comments