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