Giter Club home page Giter Club logo

x-et7's Introduction

X-ET 是一个融合了 ET, FairyGUI, luban, YooAsset 的缝合怪。

FairyGUI

代码生成

使用 C# 实现了 FairyGUI 代码生成功能,和原 FairyGUI 编辑器代码生成相比有以下优点:

  1. 扩展方便,不用再去写lua插件了。
  2. 可以获取到跨包引用组件的类型,原FairyGUI编辑器生成的是GComponent。
  3. 根据控制器页面生成了枚举,方便调用。

命名规则

一个界面对应一个包, 界面的主组件名必须是 包名+Panel。比如 Login 界面在 Login 包里,主组件为 LoginPanel。
不按照此规则的话不会报错,只是无法生成相关界面的代码。

使用方式

  1. FairyGUI 编辑器里只生成配置和图片,不生成代码。
  2. 在 ET - BuildTool里,点击"FUI代码生成"按钮,来生成代码。

Luban

  1. 已将 ET 自带的配置表全部修改为 Luban 的格式,配置表加载流程也做了修改。
  2. 修改了默认的代码生成模板,命名和使用方式更接近 ET 的习惯。在 ET - BuildTool里,点击"ExcelExporter" 来使用。

YooAsset

  1. 在 YooAssetHelper 里用 ETTask 对 YooAsset 的异步操作做了扩展。
  2. 在 MonoResComponent 里初始化。这是因为 YooAsset 的初始化是异步的,在热更层没有找到合适的地方。
  3. 在 ResComponentSystem 里调用了 YooAsset 加载的接口。对 Handle 做了缓存。
  4. 通过 Define.IsAsync 来切换 EditorSimulateMode 和 HostPlayMode。

x-et7's People

Contributors

egametang avatar susices avatar wryl avatar yinmany avatar k-k-s-s avatar viagi avatar wqaetly avatar hongxiao avatar zzjfengqing avatar liuocean avatar difficulty-in-naming avatar bsyx avatar kteong1012 avatar black-white-multi avatar spadd avatar jiyangji avatar u-xp avatar me66ccff avatar lingithubname avatar chen2bull avatar zxt385189207 avatar ollverkane avatar flameskydexive avatar 752636090 avatar dukechiang avatar beantang avatar mister91jiao avatar cy398088147 avatar longshilin avatar lrozon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.