Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added some documentation to clear up #90
  • Loading branch information
thomas-stockx committed Jan 23, 2020
1 parent 3d4b623 commit 192aaeb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ IOS will export unity project to `ios/UnityExport`.
**Android Platform Only**

1. After exporting the unity game, open Android Studio and and add the `Unity Classes` Java `.jar` file as a module to the unity project. You just need to do this once if you are exporting from the same version of Unity everytime. The `.jar` file is located in the ```<Your Flutter Project>/android/UnityExport/lib``` folder
2. If using Unity 2019.2 or older, open `build.gradle` of `UnityExport` module and replace the dependencies with
2. Add the following to your ```<Your Flutter Project>/android/settings.gradle```file:
```gradle
include ":UnityExport"
project(":UnityExport").projectDir = file("./UnityExport")
```
3. If using Unity 2019.2 or older, open `build.gradle` of `UnityExport` module and replace the dependencies with
```gradle
dependencies {
implementation project(':unity-classes') // the unity classes module you added from step 1
Expand Down

0 comments on commit 192aaeb

Please sign in to comment.