File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858
5959> 方法名前标有星号 “* ” 表示该方法尚未经测试,可用性未知
6060
61- > 在调用插件方法之前先调用 ` Initialize ` 方法进行插件初始化
61+
62+
63+ ### NativeShare
64+
65+ > 游戏相关功能实现,用于补全Unity自带Game Center的功能缺陷
66+
67+ | 方法 | 功能 |
68+ | -------------------------| --------------------------|
69+ | ` LoadScore() ` | 用于获取GameCenter中指定的玩家排行榜分数(支持获取循环排行榜分数) |
6270
6371### iOSApplication
6472
7987
8088> iCloud相关功能
8189
90+ > 在调用插件方法之前先调用 ` Initialize ` 方法进行插件初始化
91+
8292| 方法 | 功能 |
8393| ---------------------------| ----------------------------------------|
8494| ` Initialize() ` | 初始化iCloud |
99109
100110> iOS 本地通知推送
101111
112+ > 在调用插件方法之前先调用 ` Initialize ` 方法进行插件初始化
113+
102114| 方法 | 功能 |
103115| -----------------------------------| -----------------------|
104116| ` Initialize() ` | 初始化通知系统 |
136148| -------------------------| -----------------------------------|
137149| ` GetDeviceOrientation() ` | 获取当前设备的物理朝向 |
138150| * ` IsBluetoothHeadphonesConnected() ` | 判断玩家当前是否连接了蓝牙耳机 |
139- | ` IsMacCatalyst() ` | 判断当前app是否运行在Mac Catalyst环境下 |
151+ | ~~ ` IsMacCatalyst() ` ~~ | 判断当前app是否运行在Mac Catalyst环境下 (该方法已过时,改用IsRunningOnMac) |
152+ | ` IsRunningOnMac() ` | 判断当前app是否运行在Mac环境下 |
140153| ` IsSuperuser() ` | 判断当前设备是否越狱 |
141154| ` SetAudioExclusive() ` | 调用此方法可静音/暂停设备后台正在播放的音频 |
142155| * ` PlayHaptics() ` | 震动 |
You can’t perform that action at this time.
0 commit comments