egret-docs-master/Engine3D/unity/0/README.md

30 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1前往unity3D官方网站下载版本为4.7.1或其以上windows版本的安装程序,并安装。现阶段插件尚不支持unity3d 5.x版本和Mac版本的程序使用时需要注意。
2下载所需导出插件[unity4.7.1_Egret3D_Dll_0.0.1.unitypackage](https://cdn.www.egret.com/20170204/589543c431dc6.zip),下载完成后如图所示:
![](Img_1.png)
3新建一个unity工程在Project管理器内找到Assets文件夹右击选中Import Package-->Custom Package 选中unity4.7.1_Egret3D_Dll.unitypackage后
导入,选择Import导入。
a由于unity3D 4.x版本的问题unity4.7.1_Egret3D_Dll.unitypackage的路径不能含有中文路径否则插件导入会失败。
![](Img_2.gif)
![](Img_3.png)
4打开菜单栏Edit-->Project Setting-->Editor,将Assert Serialization的Mode修改为Force Text。否则导出粒子的时候会有报错。
![](Img_6.png)
![](Img_7.png)
5导入后项目目录如图所示
a首先打开Setting文件夹解压缩Setting.rar内文件至C:\Windows\System32目录下如果跳过此步骤会导出光照贴图导出出错。
bExample文件夹内是测试示例文件后面的教程里我们会慢慢用到。
![](Img_4.png)
6插件安装成功后会有菜单内容出现详情如图所示
![](Img_5.gif)