Unity 工程,封装了Unity 对接 Android 和 ios 的接口
kidd3166 ebc3fc115f update | 2 年之前 | |
---|---|---|
SDK Project | 2 年之前 | |
README.md | 2 年之前 | |
test.txt | 2 年之前 |
封装了与 Unity 对接 Android 和 ios 的接口
1.fun setMessageChannel(channel: MessageChannel)
2.fun gameStart()
3.fun gameEnd(int level, double score, int record, int mode, int opponentId)
4.fun getUserInfo(): String
5.fun getUserFriends()
6.fun connectDevice(int type)
7.fun connectDevice(string address, int type)
8.fun searchDevice(int type)
9.fun inviteFriend
10.fun screenProjection
11.fun vibrate