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
88b70add
Commit
88b70add
authored
Nov 26, 2025
by
fengchao
Browse files
fix(code):测试分享
parent
6268180b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Assets/Plugins/iOS/UnityBridge.mm
View file @
88b70add
...
...
@@ -282,7 +282,7 @@ extern "C" {
shareInfo
.
imagePath
=
[
NSString
stringWithFormat
:
@"%@"
,
jsonDict
[
@"picPath"
]];
shareInfo
.
linkPath
=
[
NSString
stringWithFormat
:
@"%@"
,
jsonDict
[
@"shareUrl"
]];
switch
(
share
Type
)
{
switch
(
platform
Type
)
{
case
1
:
[
sdk
shareType
:
ACCESS_SCENESESSION
shareObject
:
shareInfo
];
break
;
...
...
Assets/Scripts/demo/ui/GameSdkManager.cs
View file @
88b70add
...
...
@@ -343,7 +343,7 @@ public class GameManager : MonoBehaviour
};
HoolaiSdkManager
.
ShareData
(
SharePlatformType
.
WECHAT_
SESSION
,
ShareType
.
IMG
,
shareParams
);
HoolaiSdkManager
.
ShareData
(
SharePlatformType
.
WECHAT_
TIMELINE
,
ShareType
.
IMG
,
shareParams
);
}
else
{
...
...
@@ -365,7 +365,7 @@ public class GameManager : MonoBehaviour
};
HoolaiSdkManager
.
ShareData
(
SharePlatformType
.
WECHAT_
FAVORITE
,
ShareType
.
TEXT
,
shareParams
);
HoolaiSdkManager
.
ShareData
(
SharePlatformType
.
WECHAT_
SESSION
,
ShareType
.
TEXT
,
shareParams
);
}
...
...
@@ -412,7 +412,7 @@ public class GameManager : MonoBehaviour
};
HoolaiSdkManager
.
ShareData
(
SharePlatformType
.
Q
Q
,
ShareType
.
IMG
,
shareParams
);
HoolaiSdkManager
.
ShareData
(
SharePlatformType
.
Q
ZONE
,
ShareType
.
IMG
,
shareParams
);
}
else
{
...
...
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