Unity

Clone URL of Demo:

Unity Project:

http://dnsdk.vimedia.cn:8080/r/UnityDemo.gitarrow-up-right

Android Studio Project:

http://dnsdk.vimedia.cn:8080/r/UnityDemo-Google.gitarrow-up-right

Import Unity Plugin

download:Please obtain the UniWb.Wb.unitypackage from Vigame.

Imported the UniWb.Wb.unitypackage, two folders named Streanming and Wb will appear in the resource management interface.

StreamingAssets/st.txt saved signature info。

Wb folder is interface, there are ADManger , CoreManger, PayManger, ToolManger, XyxManger etc.

Use interface

Reference bellow:

Android

1.Add Android modules

Reference:Androidarrow-up-right

Please skip the 5.2,because we will use Activity inherit instead.

2.Add UnityBridge module in build.gradle

3.Made the main Acitivy inherit UniWbActivity Or Made the UniWbActivity as main Activity

UniWbActivity has inherited UnityPlayerActivity

最后更新于