Skip to content

Commit 80c3834

Browse files
authored
更新文档说明
1 parent 7c3df93 commit 80c3834

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,14 @@
4949

5050
| 模块名 | 功能 |
5151
|--------------------------|---------------------------|
52-
| `iOSNative.h` | 头文件 |
52+
| `.h` | 头文件,包含各个类的声明和ExternC函数接口 |
5353
| `iOSApplication.mm` | iOS应用相关 |
5454
| `iCloudKeyValueStore.mm` | iCloud相关功能 |
5555
| `Device.mm` | iPhone 设备相关 |
5656
| `Notification.mm` | iOS 本地通知推送 |
5757
| `NativeShare.mm` | iOS 自带的分享文件功能 |
5858
| `NativeUI.mm` | 原生UI相关 |
59-
| `Utils.mm` | OC辅助文件,包含了typedef、静态函数等声明 |
60-
| `ExternC.mm` | 负责将插件的方法暴露给UnityC#端以进行交互 |
59+
| `Utils.mm` | 辅助文件,包含了插件通用内容、typedef、静态函数等声明 |
6160

6261
## C#类/功能介绍
6362

@@ -67,9 +66,12 @@
6766

6867
> 游戏相关功能实现,用于补全Unity自带Game Center的功能缺陷
6968
69+
> 使用Game Center功能需要在Xcode的Capability中添加Game Center
70+
7071
| 方法 | 功能 |
7172
|-------------------------|--------------------------|
7273
| `LoadScore()` | 用于获取GameCenter中指定的玩家排行榜分数(支持获取循环排行榜分数) |
74+
| ShowGameCenterView | 显示Game Center界面 |
7375

7476
### iOSApplication
7577

0 commit comments

Comments
 (0)