Skip to content

Commit

Permalink
Merge pull request #339 from juicycleff/v4
Browse files Browse the repository at this point in the history
[chore]: update readme and unity package path
  • Loading branch information
juicycleff authored Mar 13, 2021
2 parents e566875 + b2f6271 commit 6e55f08
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 11 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.0.0

* Stable release for v4

## 4.0.0-alpha.4

* Fixed ios method channel ID bug

## 4.0.0-alpha.3

* Small improvements
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Note: Supports only Unity 2019.4.3 or later

```yaml
dependencies:
flutter_unity_widget: ^4.0.0-alpha.2
flutter_unity_widget: ^4.0.0
```
Now inside your Dart code you can import it.
Expand Down Expand Up @@ -91,7 +91,7 @@ Be sure you have at least one scene added to your build.

### Add Flutter Unity Package to Unity Project

Import [`FlutterUnityPackage.unitypackage`](https://github.com/juicycleff/flutter-unity-view-widget/tree/master/scripts/FlutterUnityPackage.unitypackage) to `unity/<Your Unity Project>`
Import [`FlutterUnityPackage.unitypackage`](https://github.com/juicycleff/flutter-unity-view-widget/tree/master/scripts/FlutterUnityPackage-v4.unitypackage) to `unity/<Your Unity Project>`

Open your unity project in Unity Editor. Now you can export the Unity project with `Flutter/Export Android` (for Unity versions 2019.3 and up, which uses the new [Unity as a Library](https://blogs.unity3d.com/2019/06/17/add-features-powered-by-unity-to-native-mobile-apps/) export format), or `Flutter/Export IOS` menu.

Expand Down
7 changes: 3 additions & 4 deletions example/unity/DemoApp/.vs/DemoApp/xs/UserPrefs.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Properties StartupConfiguration="{8454A3E8-CD6F-E229-B101-0AFF15D18447}|">
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/FlutterUnityIntegration/NativeAPI.cs">
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/FlutterUnityIntegration/UnityMessageManager.cs">
<Files>
<File FileName="Assets/FlutterUnityIntegration/Editor/XCodePostBuild.cs" Line="59" Column="1" />
<File FileName="Assets/FlutterUnityIntegration/Demo/GameManager.cs" />
Expand All @@ -15,10 +15,9 @@
<Pad Id="ProjectPad">
<State name="__root__">
<Node name="DemoApp" expanded="True">
<Node name="Assets" expanded="True">
<Node name="Assets" expanded="True" selected="True">
<Node name="FlutterUnityIntegration" expanded="True">
<Node name="Editor" expanded="True" />
<Node name="NativeAPI.cs" selected="True" />
</Node>
</Node>
</Node>
Expand All @@ -28,7 +27,7 @@
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.ItemProperties.Assembly-CSharp PreferredExecutionTarget="95117e17-6953-4bdc-982a-293da3d12924" />
<MonoDevelop.Ide.ItemProperties.Assembly-CSharp PreferredExecutionTarget="aa4148af-8824-4997-a9d3-ef515d7e77cd" />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
Expand Down
6 changes: 6 additions & 0 deletions example/unity/DemoApp/.vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedGame"
]
}
2 changes: 1 addition & 1 deletion example/unity/DemoApp/Assembly-CSharp-Editor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PropertyGroup>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
<UnityProjectType>Editor:5</UnityProjectType>
<UnityBuildTarget>Android:13</UnityBuildTarget>
<UnityVersion>2019.4.3f1</UnityVersion>
Expand Down
2 changes: 1 addition & 1 deletion example/unity/DemoApp/Assembly-CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PropertyGroup>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
<UnityProjectType>Game:1</UnityProjectType>
<UnityBuildTarget>Android:13</UnityBuildTarget>
<UnityVersion>2019.4.3f1</UnityVersion>
Expand Down
2 changes: 1 addition & 1 deletion example/unity/DemoApp/UnityEditor.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PropertyGroup>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
<UnityProjectType>Editor:5</UnityProjectType>
<UnityBuildTarget>Android:13</UnityBuildTarget>
<UnityVersion>2019.4.3f1</UnityVersion>
Expand Down
2 changes: 1 addition & 1 deletion example/unity/DemoApp/UnityEngine.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PropertyGroup>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
<UnityProjectType>Game:1</UnityProjectType>
<UnityBuildTarget>Android:13</UnityBuildTarget>
<UnityVersion>2019.4.3f1</UnityVersion>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_unity_widget
description: Flutter Unity 3D widget for embedding Unity game scenes in flutter. This library now supports Unity as a Library.
version: 4.0.0-alpha.3
version: 4.0.0
#authors:
# - Rex Raphael <[email protected]>
# - Thomas Stockx <[email protected]>
Expand Down

0 comments on commit 6e55f08

Please sign in to comment.