You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/demo/README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,25 @@
1
-
# Testing on Example App
1
+
# Testing on the Demo App
2
2
3
3
First try to use a more recent Unity version for testing on the emulators.
4
4
5
5

6
6
7
+
## Command Line
8
+
9
+
You can build and install without opening the Unity editor by using the provided scripts. Have an emulator/simulator booted first, then run:
10
+
11
+
```sh
12
+
# Android — builds APK and installs on a running emulator
13
+
./run-android.sh
14
+
15
+
# iOS — generates Xcode project, builds, and installs on a booted simulator
16
+
./run-ios.sh
17
+
```
18
+
19
+
Both scripts accept `--no-install` to build only, `--install-only` to skip rebuilding, and `run-ios.sh` also supports `--open` to open the generated Xcode workspace. Set `UNITY_PATH` if Unity is not at the default location.
20
+
21
+
## Unity Editor
22
+
7
23
### Android
8
24
9
25
Check your build profiles and make sure Android platform is selected.
@@ -20,6 +36,6 @@ Check your build profiles and make sure iOS platform is selected.
20
36
Then configure your play settings and set `Target SDK` to `Simulator SDK`
21
37

22
38
23
-
Then click `Build and Run` and select a location for the apk bundle. Or click `Build` to use own simualtor.
39
+
Then click `Build and Run` and select a location for the apk bundle. Or click `Build` to use own simulator.
0 commit comments