[U] add PlayFab SDK and SNS login improvements
- Add PlayFabSDK as local package dependency - Add PlayFabTool.cs for PlayFab API integration - Implement LoginBySns method in TYSdkFacade - Add Android SNS login support in SDKManager and UnityBridgeFunc - Add Build Android With Debug menu option - Improve exception handling and timeout management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
|
||||
namespace PlayFab.Internal
|
||||
{
|
||||
[Obsolete("This logging utility has been deprecated. Use UnityEngine.Debug.Log")]
|
||||
public static class Log
|
||||
{
|
||||
[Obsolete("Debug is deprecated.")]
|
||||
public static void Debug(string text, params object[] args)
|
||||
{
|
||||
if ((PlayFabSettings.LogLevel & PlayFabLogLevel.Debug) != 0)
|
||||
{
|
||||
UnityEngine.Debug.Log(PlayFabUtil.timeStamp + " DEBUG: " + PlayFabUtil.Format(text, args));
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("Info is deprecated.")]
|
||||
public static void Info(string text, params object[] args)
|
||||
{
|
||||
if ((PlayFabSettings.LogLevel & PlayFabLogLevel.Info) != 0)
|
||||
{
|
||||
UnityEngine.Debug.Log(PlayFabUtil.timeStamp + " INFO: " + PlayFabUtil.Format(text, args));
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("Warning is deprecated.")]
|
||||
public static void Warning(string text, params object[] args)
|
||||
{
|
||||
if ((PlayFabSettings.LogLevel & PlayFabLogLevel.Warning) != 0)
|
||||
{
|
||||
UnityEngine.Debug.LogWarning(PlayFabUtil.timeStamp + " WARNING: " + PlayFabUtil.Format(text, args));
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("Error is deprecated.")]
|
||||
public static void Error(string text, params object[] args)
|
||||
{
|
||||
if ((PlayFabSettings.LogLevel & PlayFabLogLevel.Error) != 0)
|
||||
{
|
||||
UnityEngine.Debug.LogError(PlayFabUtil.timeStamp + " ERROR: " + PlayFabUtil.Format(text, args));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user