Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

knight

> 编程语言
Open source

Knight is a game framework based on Unity3D engine. It includes a complete assetbundle manager, a c# hotfix module based on hybridclr, and a UI module based on

395 stars0 likes2 views
WebsiteGitHub

About

Knight is a game framework based on Unity3D engine. It includes a complete assetbundle manager, a c# hotfix module based on hybridclr, and a UI module based on

knight

支持一波996.ICU

English Doc

Knight是一个基于Unity引擎的游戏GamePlay框架,提供一些简单易用的游戏框架接口,目的让开发者更加专注于游戏内容的开发。

它包含了一个完整的资源管理模块(打包、下载、加载、版本管理),一个基于hybridclr的C#热更模块,一个基于MVMC的UI框架以及其他基础功能的支持。

本框架目前以提升性能和易用性为目的,已经重构了大部分以前的设计。目前使用的Unity版本为Unity6000.0.26f1。 目前各个模块采用Package的方式进行分隔,并使用PackageManager来管理他们,以实现使用时可随时插拔。

编辑器运行游戏

  • 使用编辑器模拟Assetbundle资源模式运行,无需打包Assetbundle。找到路径Assets/Game.Editor/Assetbundle/ABSimulateConfig.asset文件,选中他勾选IsDevelopMode、IsHotfixABMode、和SimulateType选择Everything。

  • 打开Assets/Game/Scene/Game.unity场景,点Play运行游戏Demo。

主要功能介绍

  • 框架结构
  • Assetbundle资源管理
  • hybridclr热更新
  • MVMC的UI框架
  • GameConfig配置

插件(感谢以下插件和框架对knight的底层功能的支持)

  • hybridclr: 是一个特性完整、零成本、高性能、低内存的Unity全平台原生c#热更新解决方案。 地址:https://github.com/focus-creative-games/hybridclr
  • NaughtyAttributes: 一个脚本Inspector UI扩展库,通过Attribute标签来实现的Editor扩展。地址:https://github.com/dbrizov/NaughtyAttributes
  • UniTask: 一个为Unity集成的一个0GC的高性能的async/await库。地址:https://github.com/Cysharp/UniTask
  • protobuf: google开源的一个二进制序列化库,用于网络协议解析。地址:https://github.com/protocolbuffers/protobuf
  • TouchSocket: 是一个功能强大且易于使用的.NET 网络通信框架。支持解决TCP黏包分包问题和UDP大数据包分片组合问题。框架支持多种协议模板,快速实现固定包头、固定长度和区间字符等数据报文解析。地址:https://github.com/RRQM/TouchSocket
  • Nino: 一个高性能的二进制序列化库。地址:https://github.com/JasonXuDeveloper/Nino
  • FancyScrollView: 一个UI无限循环列表库。地址:https://github.com/setchi/FancyScrollView
  • UnityIngameDebugConsole: 一个用于运行时显示log的工具。地址:https://github.com/yasirkula/UnityIngameDebugConsole

联系方式

  • Email: [email protected]
  • QQ群: 651543479

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#frameworkgameplayhotfixhybridclr

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言