Code Monkey home page Code Monkey logo

xuui's Issues

MultiFields 的使用

MultiFields 之前是用于什么功能的 翻项目里面 貌似没对这个字段的支持啊

Scroll View怎么绑定

例如背包系统,包含一个Scroll View, 其中每项是不复杂的Item , 怎么进行绑定呢?

一些疑问

看了下XUUI,按模块热重载的设计感觉很赞,配合FileSystemWatcher+lua可以实现做网页一样边改代码边看效果的体验了,不用重启在做UI方面能提升的效率是相当可观的

  1. Adapter那块的设计不太理解,目前看起来是一个uGUI的组件对应一个Adapter?
    以Image为例,可以实现一个类似ImageAdapterSprite:DataConsumer这样去绑定组件上的精灵,那么Image上的其他属性也这样实现的话,这个类的数量好像会爆炸...

  2. 在思路1里,在复杂UI界面GetComponentsInChildren的运行时开销可能会有点浪费?
    而且一个gameObject上的MonoBehaviour挂多了,反序列化的时间也会变长吧。
    思路2的话可以采用预生成+池回收的方式来管理各种RawAdapter,目前没想到有什么太大的问题

  3. module之间可以嵌套吗,比如一个玩家列表,单个玩家的视图逻辑通常是作为组件重用的,用XUUI的话怎么做更优雅一些?

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.