Skip to content

Commit 6e55f08

Browse files
authored
Merge pull request juicycleff#339 from juicycleff/v4
[chore]: update readme and unity package path
2 parents e566875 + b2f6271 commit 6e55f08

14 files changed

+24
-11
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 4.0.0
2+
3+
* Stable release for v4
4+
5+
## 4.0.0-alpha.4
6+
7+
* Fixed ios method channel ID bug
8+
19
## 4.0.0-alpha.3
210

311
* Small improvements

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Note: Supports only Unity 2019.4.3 or later
2222

2323
```yaml
2424
dependencies:
25-
flutter_unity_widget: ^4.0.0-alpha.2
25+
flutter_unity_widget: ^4.0.0
2626
```
2727
2828
Now inside your Dart code you can import it.
@@ -91,7 +91,7 @@ Be sure you have at least one scene added to your build.
9191

9292
### Add Flutter Unity Package to Unity Project
9393

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

9696
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.
9797

example/unity/DemoApp/.vs/DemoApp/xs/UserPrefs.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Properties StartupConfiguration="{8454A3E8-CD6F-E229-B101-0AFF15D18447}|">
2-
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/FlutterUnityIntegration/NativeAPI.cs">
2+
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/FlutterUnityIntegration/UnityMessageManager.cs">
33
<Files>
44
<File FileName="Assets/FlutterUnityIntegration/Editor/XCodePostBuild.cs" Line="59" Column="1" />
55
<File FileName="Assets/FlutterUnityIntegration/Demo/GameManager.cs" />
@@ -15,10 +15,9 @@
1515
<Pad Id="ProjectPad">
1616
<State name="__root__">
1717
<Node name="DemoApp" expanded="True">
18-
<Node name="Assets" expanded="True">
18+
<Node name="Assets" expanded="True" selected="True">
1919
<Node name="FlutterUnityIntegration" expanded="True">
2020
<Node name="Editor" expanded="True" />
21-
<Node name="NativeAPI.cs" selected="True" />
2221
</Node>
2322
</Node>
2423
</Node>
@@ -28,7 +27,7 @@
2827
</MonoDevelop.Ide.Workbench>
2928
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
3029
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
31-
<MonoDevelop.Ide.ItemProperties.Assembly-CSharp PreferredExecutionTarget="95117e17-6953-4bdc-982a-293da3d12924" />
30+
<MonoDevelop.Ide.ItemProperties.Assembly-CSharp PreferredExecutionTarget="aa4148af-8824-4997-a9d3-ef515d7e77cd" />
3231
<MonoDevelop.Ide.DebuggingService.Breakpoints>
3332
<BreakpointStore />
3433
</MonoDevelop.Ide.DebuggingService.Breakpoints>

example/unity/DemoApp/.vsconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "1.0",
3+
"components": [
4+
"Microsoft.VisualStudio.Workload.ManagedGame"
5+
]
6+
}

example/unity/DemoApp/Assembly-CSharp-Editor.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<PropertyGroup>
4848
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
4949
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
50-
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
50+
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
5151
<UnityProjectType>Editor:5</UnityProjectType>
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2019.4.3f1</UnityVersion>

example/unity/DemoApp/Assembly-CSharp.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<PropertyGroup>
4848
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
4949
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
50-
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
50+
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
5151
<UnityProjectType>Game:1</UnityProjectType>
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2019.4.3f1</UnityVersion>

example/unity/DemoApp/UnityEditor.UI.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<PropertyGroup>
4848
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
4949
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
50-
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
50+
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
5151
<UnityProjectType>Editor:5</UnityProjectType>
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2019.4.3f1</UnityVersion>

example/unity/DemoApp/UnityEngine.UI.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<PropertyGroup>
4848
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
4949
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
50-
<UnityProjectGeneratorVersion>2.8.3.0</UnityProjectGeneratorVersion>
50+
<UnityProjectGeneratorVersion>2.9.2.0</UnityProjectGeneratorVersion>
5151
<UnityProjectType>Game:1</UnityProjectType>
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2019.4.3f1</UnityVersion>
Binary file not shown.
Binary file not shown.

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_unity_widget
22
description: Flutter Unity 3D widget for embedding Unity game scenes in flutter. This library now supports Unity as a Library.
3-
version: 4.0.0-alpha.3
3+
version: 4.0.0
44
#authors:
55
# - Rex Raphael <rex.raphael@outlook.com>
66
# - Thomas Stockx <thomas@stockxit.com>

0 commit comments

Comments
 (0)