Forest_Client/Forest/Assets/PhxhSDK/README.md

37 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# PhxhSDK
# Unity游戏开发的SDK
包含
## 1 unity游戏开发的常用代码
## 2 第三方代码
## package manager里需要添加
com.unity.mathematics
com.unity.addressables
com.cysharp.unitask
## TapTap
需要在 Assets/Plugins/iOS/Resource 目录下创建 TDS-Info.plist 文件,复制若干代码并且替换其中的 ClientId 参照Taptap接入文档。
package manager里需要添加
"dependencies":{
"com.taptap.tds.login":"https://github.com/TapTap/TapLogin-Unity.git#3.25.0",
"com.taptap.tds.common":"https://github.com/TapTap/TapCommon-Unity.git#3.25.0",
"com.taptap.tds.bootstrap":"https://github.com/TapTap/TapBootstrap-Unity.git#3.25.0",
"com.leancloud.realtime":"https://github.com/leancloud/csharp-sdk-upm.git#realtime-2.3.0",
"com.leancloud.storage":"https://github.com/leancloud/csharp-sdk-upm.git#storage-2.3.0",
}
## CrashSight
若要安卓打包成功
plugins android lib 下 只留 armeabi-v7a
若要xcode打包成功
targetUnityFramework
build phrase -> link binary with library 添加 MetricKit.framework
build settings -> other link flag 加上 -ld64