Skip to content

wglios/ConnectAppCN

 
 

Repository files navigation

Connect App

A Unity Connect community app made with Unity UIWidgets.

Get started

Get repo

$ git clone [email protected]:UnityTech/ConnectAppCN.git
$ cd ConnectAppCN/
$ git submodule init
$ git submodule update

Running in Unity Editor

  1. Use Unity Editor (Unity 2018.3 or above) open the ConnectAppCN/.
  2. Find Assets/ConnectApp/Main folder in Project Tab.
  3. Double click the ConnectApp.unity for preview the project.
  4. Double click the ConnectAppPanel.cs evoke Rider for Edit Code.
  5. Click the Play button and you will see the project running in the Game 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.

Running in Android (need to install Android Studio)

  1. Unity Editor Menu Flie -> Build Settings -> Switch Platform Android.
  2. Build Settings -> Check Export Project. Then click the Export button at the bottom, export to the path you want (such as AndroidProject/).
  3. Open <your path>/Unity Connect the project file from Android Studio.
  4. You can run it on the Android Simulator or on the Android Device.

Running in iOS (need to install Xcode)

  1. Unity Editor Menu Flie -> Build Settings -> Switch Platform iOS.
  2. 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.
    1. Find Unity Editor Menu Edit -> Project Settings -> Player -> Other Settings.
    2. Uncheck the Auto Graphics API, add OpenGLES2 and OpenGLES3 to Graphics APIs.
    3. Target SDK select Simulator SDK.
  3. In Build Settings click the Export button at the bottom, export to the path you want (such as iOSProject/).
  4. Double click the Unity-iPhone.xcodeproj open project.
  5. If you are running in a iOS device, you may need to modify the Bundle identifier in info.plist.
  6. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 86.6%
  • Objective-C 6.4%
  • Objective-C++ 5.1%
  • Java 1.9%