GithubHelp home page GithubHelp logo

Comments (5)

vovgou avatar vovgou commented on July 24, 2024

我不是写了一个从Resources中加载的实现么,你按我的实现自己写一个Addressable的啊,我提供接口就是让你自己去根据自己的需求来实现。

from loxodon-framework.

ezergame avatar ezergame commented on July 24, 2024

那LuaBehaviour中的ScriptReference能否加上对Addressable的支持呢,这个因为要改成异步的方式,涉及的地方有点多,希望能加上对Addressable的支持,这对于用Addressable实现lua热更新非常有用,感激不尽

from loxodon-framework.

vovgou avatar vovgou commented on July 24, 2024

LuaBehaviour我也不能加Addressable的支持,Addressable是Unity的一个可选插件,我不能让框架强制依赖它,如果别人没有导入Addressable就会报错了。这种支持,你都可以自己做啊,可以用你自己写的LuaBehaviour。这个框架的实现你都可以自定义,它完全面向接口写的,接口你不要修改,但是所有的接口实现你都可以自定义。不需要非得用我写的。

from loxodon-framework.

ezergame avatar ezergame commented on July 24, 2024

谢谢回复,现在确实是在自己写

from loxodon-framework.

vovgou avatar vovgou commented on July 24, 2024

那LuaBehaviour中的ScriptReference能否加上对Addressable的支持呢,这个因为要改成异步的方式,涉及的地方有点多,希望能加上对Addressable的支持,这对于用Addressable实现lua热更新非常有用,感激不尽

最新版本2.0.1修改了ScriptReference,使用体验与AssetReference差不多,文件拖上去就行,可以替代AssetReference了,而且加载还是同步的

from loxodon-framework.

Related Issues (20)

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.