https://github.com/juicycleff/flutter-unity-arkit-demo
This demo uses flutter unity view widget to show AR KIT with Unity3D
https://github.com/juicycleff/flutter-unity-arkit-demo
arkit demo flutter flutter-unity-view-widget unity3d
Last synced: about 2 months ago
JSON representation
This demo uses flutter unity view widget to show AR KIT with Unity3D
- Host: GitHub
- URL: https://github.com/juicycleff/flutter-unity-arkit-demo
- Owner: juicycleff
- Created: 2019-10-21T12:43:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T11:50:53.000Z (over 5 years ago)
- Last Synced: 2025-04-30T17:24:22.482Z (about 2 months ago)
- Topics: arkit, demo, flutter, flutter-unity-view-widget, unity3d
- Language: C#
- Size: 29.2 MB
- Stars: 232
- Watchers: 11
- Forks: 74
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flutter_unity_widget ARKIT DEMO
Demonstrates how to use the flutter_unity_widget plugin with Unity3D ARKIT using the Unity Foundation Demo.
## Run the sample on Android
1. Open the `unity` project and build it: Menu -> Flutter -> Export Android
2. Copy `android/UnityExport/libs/unity-classes.jar` to `android/unity-classes/unity-classes.jar` and overwrite the existing file. You only need to do this each time you use a different Unity version.
3. `flutter run`## Run the sample on iOS
1. Open the `unity` project and build it: Menu -> Flutter -> Export iOS
Be sure you use at least Unity version 2019.3 or up.
2. open ios/Runner.xcworkspace (workspace!, not the project) in Xcode and add the exported project in the workspace root (with a right click in the Navigator, not on an item -> Add Files to "Runner" -> add the UnityExport/Unity-Iphone.xcodeproj file
![]()
3. Select the Unity-iPhone/Data folder and change the Target Membership for Data folder to UnityFramework
![]()
1. `flutter run`