|
|
# knight- k) M/ [, E5 A# `
Knight是一个基于Unity引擎的游戏GamePlay框架,提供一些简单易用的游戏框架接口,目的让开发者更加专注于游戏内容的开发。" J2 s5 W. y9 D5 }6 S* u
+ M. Y3 P" T9 i u4 Z2 V. ]# w1 R5 G
它包含了一个完整的资源管理模块(打包、下载、加载、版本管理),一个基于ILRuntime的C#热更模块,一个基于MVVM的UI框架(支持热更新)以及其他基础功能的支持。' f/ Q/ Q8 C5 _) t2 {0 g
1 \, n& @ p, N: q2 Y本框架将会持续更新,后期会不断修改和完善框架中的内容。目前使用最新的Unity版本为Unity2018.2.2f1
8 G @. Q R5 J3 F
6 I6 c1 i9 R, _* s### 运行游戏% q% S) V/ s! B
* 运行菜单Tools/Assetbundle/Assetbundle Build命令,构建Assetbundle资源包。
6 z- i+ u& H b: m2 `4 X1 g* 打开Assets/Game/Scene/Game.unity场景,点Play运行游戏Demo。 a2 e9 f) \* @- m! {! G, m
* v5 @' g7 U) g; I
### 主要功能介绍 U* _& P9 n5 }( }2 l/ @. b
* [框架结构](https://github.com/winddyhe/knig ... 7%BB%93%E6%9E%84.md)
$ \/ k9 @7 I9 ~( C+ e$ k. ?6 e+ e* [Assetbundle资源模块](https://github.com/winddyhe/knig ... 6%A8%A1%E5%9D%97.md)
: W, _& M# F, v% z* [ILRuntime热更新模块](https://github.com/winddyhe/knig ... 6%A8%A1%E5%9D%97.md)2 r% r" S4 A( ]7 D6 L
* [WindJson](https://github.com/winddyhe/knig ... 6%A1%A3/WindJson.md)
2 O2 k& @6 x- M* [WindUI](https://github.com/winddyhe/knig ... %E6%A1%A3/WindUI.md)6 f0 i, ?5 Y9 [- R5 I! C& o9 B
* [Coroutine协程模块](https://github.com/winddyhe/knig ... 6%A8%A1%E5%9D%97.md)
% S( W' A, k) J$ b3 C5 X* [服务器集成](https://github.com/winddyhe/knig ... 9%9B%86%E6%88%90.md)- |' e \8 s! P
* [游戏中的配置](https://github.com/winddyhe/knig ... 9%85%8D%E7%BD%AE.md)
% a* F$ }/ {( a6 J+ ?8 _ t) |/ l. s
### 插件(感谢以下插件和框架对knight的底层功能的支持)( ?" ^( `0 L8 ^6 J
* ILRuntime: 一个使用C#编写的解释运行C# IL代码的库,用来实现热更新机制,地址:https://github.com/Ourpalm/ILRuntime
6 S1 Y! ?/ h; D. Z* ET: 一个包含了分布式的.Net Core服务器的双端unity游戏框架。knight用到了它的服务器部分。地址:https://github.com/egametang/ET
$ j3 U8 P2 d4 G0 F* NaughtyAttributes: 一个脚本Inspector UI扩展库,通过Attribute标签来实现的Editor扩展。地址:https://github.com/dbrizov/NaughtyAttributes# [5 o m# J) W) C+ d% ]# q% t8 ]
9 K( d& f; M$ W2 a; |2 N0 T### 联系方式) ]; e' |- L* }% j% ]5 C
* Email: hgplan@126.com $ ]% P* P5 P. i) z# \0 S, o
- ^) t, O- E9 h; B- } D! V
9 B1 h7 [) W7 q i4 S" t |
|