Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdk-public
unity_sdk_demo
Commits
bf801037
Commit
bf801037
authored
Oct 15, 2025
by
fengchao
Browse files
fix(code):增加回调log
parent
6c44ef6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Assets/Scripts/sdk/core/PlatformCallback.cs
View file @
bf801037
...
...
@@ -150,6 +150,8 @@ public class PlatformCallback : MonoBehaviour
public
void
onPayGoodsList
(
string
jsonStr
)
{
Debug
.
Log
(
"Unity 收到商品列表: "
+
jsonStr
);
NativeLogger
.
I
(
"fastsdk_unity_result"
,
"[Unity] onPayGoodsList called with message: "
+
jsonStr
);
//goodsList = JsonConvert.DeserializeObject<List<GoodsInfo>(jsonStr);
// 方法一:直接解析为List<GoodsInfo>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment