Unity 工程,封装了Unity 对接 Android 和 ios 的接口
kidd3166 ebc3fc115f update | преди 3 години | |
---|---|---|
SDK Project | преди 3 години | |
README.md | преди 3 години | |
test.txt | преди 3 години |
封装了与 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