Skip to content

This demo uses flutter unity view widget to show AR KIT with Unity3D

Notifications You must be signed in to change notification settings

rsax/flutter-unity-arkit-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Select the Unity-iPhone/Data folder and change the Target Membership for Data folder to UnityFramework

  1. flutter run

About

This demo uses flutter unity view widget to show AR KIT with Unity3D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 88.7%
  • Objective-C 5.1%
  • Dart 3.6%
  • Ruby 1.2%
  • ShaderLab 0.9%
  • Swift 0.3%
  • Java 0.2%