Unity 工程,封装了Unity 对接 Android 和 ios 的接口
kidd3166 ebc3fc115f update | 3 anni fa | |
---|---|---|
SDK Project | 3 anni fa | |
README.md | 3 anni fa | |
test.txt | 3 anni fa |
封装了与 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