[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:
@@ -67,6 +67,20 @@ public class BuildTool
|
||||
BuildAndroid(bparams);
|
||||
}
|
||||
|
||||
[MenuItem("Tools/Build Android With Debug")]
|
||||
public static void BuildAndroidWithDebug()
|
||||
{
|
||||
|
||||
BuildParams bparams = new BuildParams()
|
||||
{
|
||||
outPath = "../Bin/tysdkTest_debug.apk",
|
||||
};
|
||||
|
||||
var buildOptions = BuildOptions.Development | BuildOptions.AllowDebugging | BuildOptions.WaitForPlayerConnection;
|
||||
|
||||
BuildAndroid(bparams, buildOptions);
|
||||
}
|
||||
|
||||
public static void CIBuildAndroid()
|
||||
{
|
||||
List<string> args = new List<string>(Environment.GetCommandLineArgs());
|
||||
@@ -87,7 +101,7 @@ public class BuildTool
|
||||
BuildAndroid(bparams);
|
||||
}
|
||||
|
||||
private static void BuildAndroid(BuildParams buildParams)
|
||||
private static void BuildAndroid(BuildParams buildParams, BuildOptions buildOptions = BuildOptions.None)
|
||||
{
|
||||
|
||||
var buildPlayerOptions = new BuildPlayerOptions
|
||||
@@ -96,7 +110,7 @@ public class BuildTool
|
||||
locationPathName = buildParams.outPath,
|
||||
|
||||
target = BuildTarget.Android,
|
||||
options = BuildOptions.None,
|
||||
options = buildOptions,
|
||||
};
|
||||
|
||||
var build_report = BuildPipeline.BuildPlayer(buildPlayerOptions);
|
||||
|
||||
Reference in New Issue
Block a user