Git Product home page Git Product logo

lcc's Introduction

Lcc

Lcc框架

优点:高扩展,低耦合,快速开发

V1.0

简介

Lcc是针对Unity开发的轻量级框架,可快速上手开发Steam安卓IOS等项目

Lcc框架交流群

群号: 679054092

特点

  1. 适配ILRuntime,主工程集与热更程集继承ObjectBase并对原有的生命周期进行拓展

  2. 场景里面的所有脚本都通过LccView来管理,通过LccView工厂可快速获取到ObjectBase

  3. 继承ObjectBase编写代码避免了一些坑,而且可以无缝切换

  4. 提供管理器自动化流程,减少代码量

  5. UI部分提供MVVM,继承即可使用

  6. 提供编辑器工具帮助快速配置项目出包

  7. 提供主工程集与热更程集代码模板,无需编写样板代码

  8. 提供ObjectBase可视化工具,帮助快速开发,解决bug

  9. 提供ObjectBase对象里字段的自动化查找,无需手动编写查找代码或拖拽,减少代码量

  10. 定义模块事件,编写Handler即可处理,需传开启新模块所需数据,达到解耦效果,结构清晰

  11. 定义UI事件,编写Handler标记特性即可处理

  12. 代码全自动加密

  13. 资源异步加载

  14. 提供数据导出工具,通过Excel快速导出数据表和数据类

  15. 自动编译代码

热更新

  1. Lua方案XLua

  2. C#方案ILRuntime

  3. 资源热更新方案Addressable

ILRuntime热更新注意项

  1. 组件缓存

  2. for代替foreach

  3. 适配器可通过编辑器工具生成基础模板,大部分时候不用自己编写

  4. 打包之前一定要生成CLR绑定代码,否则会被IL2CPP裁剪

主要功能

UI管理

UI容器,UI管理,UI工具等

场景管理

音频管理

多文本管理

AStar寻路

数据加密

事件系统

命令系统

网络系统等

以上都是通过LccView对ObjectBase进行管理

快速开始

UI

支持MVVM,提供了视图、视图模型、数据绑定

PanelManager.Instance.OpenPanel(PanelType.Launch);

场景加载

提供加载ab包场景或者加载本地场景

LoadSceneManager.Instance.LoadScene(SceneName.Login, true, null, AssetType.Scene);

开发环境

  • Unity2020

贡献成员

项目

更多项目

lcc's People

Contributors

404lccxy 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.