|
|
# knight% E, S8 v, |7 P) u/ F/ n
Knight是一个基于Unity引擎的游戏GamePlay框架,提供一些简单易用的游戏框架接口,目的让开发者更加专注于游戏内容的开发。
" \2 h1 R9 a) ?8 _: q) p' L" s3 U$ ~ P9 X7 q) I
它包含了一个完整的资源管理模块(打包、下载、加载、版本管理),一个基于ILRuntime的C#热更模块,一个基于MVVM的UI框架(支持热更新)以及其他基础功能的支持。! Q# [1 ~( {! S1 F* ~( q( }. V
8 S( i3 ~1 G V8 w本框架将会持续更新,后期会不断修改和完善框架中的内容。目前使用最新的Unity版本为Unity2018.2.2f1
# _- Q+ C; b! }, L; V7 \0 A% z# b- ^" h: V- r
### 运行游戏
+ M8 s8 P+ a" `0 k3 T* ~: L* 运行菜单Tools/Assetbundle/Assetbundle Build命令,构建Assetbundle资源包。! N& P5 ~' W6 [
* 打开Assets/Game/Scene/Game.unity场景,点Play运行游戏Demo。
) z* U* b: ?7 U8 M0 O6 t5 i8 V) k" f( `( r8 L) X
### 主要功能介绍8 o$ U4 J# Z$ Q( U
* [框架结构](https://github.com/winddyhe/knig ... 7%BB%93%E6%9E%84.md)
4 }0 }: J/ Z7 J5 Q: c+ B* [Assetbundle资源模块](https://github.com/winddyhe/knig ... 6%A8%A1%E5%9D%97.md)
7 t/ n" X- _( s/ P3 P* [ILRuntime热更新模块](https://github.com/winddyhe/knig ... 6%A8%A1%E5%9D%97.md)$ w4 B2 l, W0 W1 U
* [WindJson](https://github.com/winddyhe/knig ... 6%A1%A3/WindJson.md)0 L! l) p( Q- ^6 Y
* [WindUI](https://github.com/winddyhe/knig ... %E6%A1%A3/WindUI.md)/ ]: @' v, o' q
* [Coroutine协程模块](https://github.com/winddyhe/knig ... 6%A8%A1%E5%9D%97.md)4 G* T2 p( P2 [" E: a; Q) n* r
* [服务器集成](https://github.com/winddyhe/knig ... 9%9B%86%E6%88%90.md)" V% P' ]. c- X' F6 Z
* [游戏中的配置](https://github.com/winddyhe/knig ... 9%85%8D%E7%BD%AE.md)) {. D/ M/ M% Q, F9 O J# @1 g' @
8 Y$ X! T+ E6 d
### 插件(感谢以下插件和框架对knight的底层功能的支持)
3 e. d" s7 c0 a2 @6 R4 c* ILRuntime: 一个使用C#编写的解释运行C# IL代码的库,用来实现热更新机制,地址:https://github.com/Ourpalm/ILRuntime
" q' d7 W1 q* C, k5 D/ e* ET: 一个包含了分布式的.Net Core服务器的双端unity游戏框架。knight用到了它的服务器部分。地址:https://github.com/egametang/ET( q: A9 Y% E3 @& t2 [
* NaughtyAttributes: 一个脚本Inspector UI扩展库,通过Attribute标签来实现的Editor扩展。地址:https://github.com/dbrizov/NaughtyAttributes
" ^5 W- |# P( M9 E% O @. f9 r1 q0 ]: z
### 联系方式6 A) ?) G, T/ x: [/ }! N% ?
* Email: hgplan@126.com ; D; y9 z9 N7 a* k" q
n9 o$ y- f/ [6 l" X4 j
% j, Y( I" A, \ |
|