Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Unity3D-ShareSDK/Assets/Demo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,15 @@ void OnAuthResultHandler(int reqID, ResponseState state, PlatformType type, Hash
{
if (state == ResponseState.Success)
{
#if UNITY_ANDROID
print ("authorize success !" + "Platform :" + type);
#elif UNITY_IPHONE
if (result.Count > 0) {
print ("authorize success !" + "Platform :" + type + "result:" + MiniJSON.jsonEncode(result));
} else {
print ("authorize success !" + "Platform :" + type);
}
#endif
}
else if (state == ResponseState.Fail)
{
Expand Down