Aucune description

大爷 6e7abe580b fix进游戏场景时会一直向CDN请求skillcfg的问题。 il y a 2 ans
Apps e0f18e82d9 app.Core build il y a 2 ans
Book 2b7db283fb hybrid + ET7.0 base il y a 2 ans
Config 2b7db283fb hybrid + ET7.0 base il y a 2 ans
Excel 52654805e1 增加LuBan导出excel菜单 il y a 2 ans
FGUIProject 2b7db283fb hybrid + ET7.0 base il y a 2 ans
FileServer 2b7db283fb hybrid + ET7.0 base il y a 2 ans
Libs 2b7db283fb hybrid + ET7.0 base il y a 2 ans
Proto 2b7db283fb hybrid + ET7.0 base il y a 2 ans
Share 6b1eb54014 Share.Analyzer.csproj 编译成功 il y a 2 ans
Tools 2b7db283fb hybrid + ET7.0 base il y a 2 ans
Unity 6e7abe580b fix进游戏场景时会一直向CDN请求skillcfg的问题。 il y a 2 ans
.editorconfig 2b7db283fb hybrid + ET7.0 base il y a 2 ans
.gitattributes 2b7db283fb hybrid + ET7.0 base il y a 2 ans
.gitignore 2b7db283fb hybrid + ET7.0 base il y a 2 ans
ET.sln 2b7db283fb hybrid + ET7.0 base il y a 2 ans
ET.sln.DotSettings 2b7db283fb hybrid + ET7.0 base il y a 2 ans
LICENSE 2b7db283fb hybrid + ET7.0 base il y a 2 ans
README.md 2b7db283fb hybrid + ET7.0 base il y a 2 ans

README.md

本项目包含多个解决方案

ET 7.0 + FGUI + luban + hybridclr + YooAsset + NKGMoba + UniTask,并提供常用的编辑器工具。

用前须知

  • 此项目为本人出于个人喜好和开发需求进行的魔改,并不保证普适性。
  • 目前master为单机版本,服务端未作适配,所以服务端是跑不起来的。

环境 && 版本

  • Unity:2020.3.33
  • 服务端:.Net 6.0
  • 客户端:.Net Framework 4.7.2
  • IDE:Rider 2022.1.2
  • 必要:项目使用了多个第三方插件,请自行购买导入:
    • /Unity/Assets/Plugins/Sirenix
    • /Unity/Assets/Plugins/AstarPathfindingProject
    • /Unity/Assets/Plugins/Animancer
    • /Unity/Assets/Plugins/ShaderControl
    • 最后对ProjectS_Hotfix.asmdef做如下引用即可 image

项目截图(IL2CPP PC真机)

QQ截图20220721230643

TODO && Features

备忘

由于框架本身做了一些打包流程和程序集拆分相关的优化,所以在接入hybridclr时需要做一些修改

  • 注释用于构建时过滤程序集的脚本 :FilterHotFixAssemblies.cs 因为如果HybridCLRGlobalSettings.asset里本身所引用的热更程序集/热更asmdef就不进包的话(例如设置成Only Include Editor Plaform),就会抛出异常,从而导致整个构建过程的Dll是错误的

使用指引

项目使用Monkey Command对所有的编辑器指令进行封装,无需每次选择MenuItem进行调用,直接按 《'》 键呼出Monkey Command界面,然后搜索指定指令回车调用即可 image

Entities Debug工具

QQ截图20220828194025

出包流程

热更Dll构建

image

EXE构建

image

AB打包

image

本地File WebServer 调试

image

配置表相关

导出二进制配置,二进制读取代码

image

导出Json配置,Json读取代码

image

导出编辑器专用Json配置,读取代码

image

技能编辑器

双击即可打开

image

image

引用

博客教程:https://www.lfzxb.top/et7-fgui-yooasset-luban-huatuo/