A Unity Connect community app made with Unity UIWidgets.
$ git clone [email protected]:UnityTech/ConnectAppCN.git
$ cd ConnectAppCN/
$ git submodule init
$ git submodule update
- Use Unity Editor (Unity 2018.3 or above) open the
ConnectAppCN/
. - Find
Assets/ConnectApp/Main
folder inProject
Tab. - Double click the
ConnectApp.unity
for preview the project. - Double click the
ConnectAppPanel.cs
evokeRider
for Edit Code. - Click the
Play
button and you will see the project running in theGame
window. PS: if "Game" window show "No cameras rendering" Toast, You can click the menu in the upper right corner of the "Game" window and uncheck the "Warn if No cameras rendering" option to make it disappear.
- Unity Editor Menu
Flie
->Build Settings
-> Switch Platform Android. Build Settings
-> CheckExport Project
. Then click theExport
button at the bottom, export to the path you want (such as AndroidProject/).- Open
<your path>/Unity Connect
the project file from Android Studio. - You can run it on the Android Simulator or on the Android Device.
- Unity Editor Menu
Flie
->Build Settings
-> Switch Platform iOS. - The default configuration in the project is to run in the iPhone Device, if you want to run in the iOS Simulator requires additional settings.
- Find Unity Editor Menu
Edit
->Project Settings
->Player
->Other Settings
. - Uncheck the
Auto Graphics API
, addOpenGLES2
andOpenGLES3
toGraphics APIs
. - Target SDK select Simulator SDK.
- Find Unity Editor Menu
- In
Build Settings
click theExport
button at the bottom, export to the path you want (such as iOSProject/). - Double click the
Unity-iPhone.xcodeproj
open project. - If you are running in a iOS device, you may need to modify the
Bundle identifier
ininfo.plist
. - You can run it on the iOS Simulator(View 2.) or on the iOS Device.
Any questions can be raised in the issue, we will reply as soon as possible.